summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2016-12-10 04:59:56 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-12-12 22:26:21 +0300
commit4d46f0148ed1bfaaf74e30653a140927b1d3a809 (patch)
tree8c824971b95226d24f8025ca80271ee4fa2e5f34 /drivers/input
parent951a086437b7c29a9f352e0ee6272fa1d90d783e (diff)
downloadlinux-4d46f0148ed1bfaaf74e30653a140927b1d3a809.tar.xz
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')
-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)
{