浏览代码

Input: hp_sdc_mlc.c - make a struct static

This patch makes the needlessly global struct hp_sdc_mlc_priv_s static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Adrian Bunk 17 年之前
父节点
当前提交
fa14f7e8df
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/input/serio/hp_sdc_mlc.c

+ 1 - 1
drivers/input/serio/hp_sdc_mlc.c

@@ -50,7 +50,7 @@ MODULE_AUTHOR("Brian S. Julin <bri@calyx.com>");
 MODULE_DESCRIPTION("Glue for onboard HIL MLC in HP-PARISC machines");
 MODULE_LICENSE("Dual BSD/GPL");
 
-struct hp_sdc_mlc_priv_s {
+static struct hp_sdc_mlc_priv_s {
 	int emtestmode;
 	hp_sdc_transaction trans;
 	u8 tseq[16];