From: Marcos Paulo de Souza Date: Sat, 10 Dec 2016 01:59:56 +0000 (-0800) Subject: Input: i8042 - comment #else/#endif of CONFIG_PNP X-Git-Tag: v4.10-rc1~60^2^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4d46f0148ed1bfaaf74e30653a140927b1d3a809;p=karo-tx-linux.git 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 Signed-off-by: Dmitry Torokhov --- 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) {