summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/i8042-io.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-09-22 23:41:31 +0200
committerKumar Gala <galak@kernel.crashing.org>2008-09-23 17:41:28 +0200
commit68e1ee62f0f8e556642a59ebaf0c2cc2ac6ccfa6 (patch)
tree919ec52758fd0b77f8e429d1eb135835532c49c7 /drivers/input/serio/i8042-io.h
parentpowerpc: gpio driver for mpc8349/8572/8610 and compatible (diff)
downloadlinux-68e1ee62f0f8e556642a59ebaf0c2cc2ac6ccfa6.tar.xz
linux-68e1ee62f0f8e556642a59ebaf0c2cc2ac6ccfa6.zip
powerpc: convert CONFIG_PPC_MERGE to CONFIG_PPC for legacy io checks
Now that arch/ppc is dead CONFIG_PPC_MERGE is always defined for all powerpc platforms and we want to get rid of CONFIG_PPC_MERGE use CONFIG_PPC instead. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/input/serio/i8042-io.h')
-rw-r--r--drivers/input/serio/i8042-io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/i8042-io.h b/drivers/input/serio/i8042-io.h
index f451c7351a9d..847f4aad7ed5 100644
--- a/drivers/input/serio/i8042-io.h
+++ b/drivers/input/serio/i8042-io.h
@@ -67,7 +67,7 @@ static inline int i8042_platform_init(void)
* On some platforms touching the i8042 data register region can do really
* bad things. Because of this the region is always reserved on such boxes.
*/
-#if defined(CONFIG_PPC_MERGE)
+#if defined(CONFIG_PPC)
if (check_legacy_ioport(I8042_DATA_REG))
return -ENODEV;
#endif