浏览代码

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>
Marcos Paulo de Souza 8 年之前
父节点
当前提交
4d46f0148e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/input/serio/i8042-x86ia64io.h

+ 2 - 2
drivers/input/serio/i8042-x86ia64io.h

@@ -1052,10 +1052,10 @@ static int __init i8042_pnp_init(void)
 	return 0;
 	return 0;
 }
 }
 
 
-#else
+#else  /* !CONFIG_PNP */
 static inline int i8042_pnp_init(void) { return 0; }
 static inline int i8042_pnp_init(void) { return 0; }
 static inline void i8042_pnp_exit(void) { }
 static inline void i8042_pnp_exit(void) { }
-#endif
+#endif /* CONFIG_PNP */
 
 
 static int __init i8042_platform_init(void)
 static int __init i8042_platform_init(void)
 {
 {