summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/i8042-x86ia64io.h
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2016-12-10 02:59:56 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-12-12 20:26:21 +0100
commit4d46f0148ed1bfaaf74e30653a140927b1d3a809 (patch)
tree8c824971b95226d24f8025ca80271ee4fa2e5f34 /drivers/input/serio/i8042-x86ia64io.h
parentInput: lpc32xx-keys - fix invalid error handling of a requested irq (diff)
downloadlinux-4d46f0148ed1bfaaf74e30653a140927b1d3a809.tar.xz
linux-4d46f0148ed1bfaaf74e30653a140927b1d3a809.zip
Input: i8042 - comment #else/#endif of CONFIG_PNP
As this define check if huge, this makes easier to read the code. Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/serio/i8042-x86ia64io.h')
-rw-r--r--drivers/input/serio/i8042-x86ia64io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index b42787e21d0a..21e134798ba3 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -1052,10 +1052,10 @@ static int __init i8042_pnp_init(void)
return 0;
}
-#else
+#else /* !CONFIG_PNP */
static inline int i8042_pnp_init(void) { return 0; }
static inline void i8042_pnp_exit(void) { }
-#endif
+#endif /* CONFIG_PNP */
static int __init i8042_platform_init(void)
{