Эх сурвалжийг харах

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 жил өмнө
parent
commit
fa14f7e8df

+ 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_DESCRIPTION("Glue for onboard HIL MLC in HP-PARISC machines");
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_LICENSE("Dual BSD/GPL");
 
 
-struct hp_sdc_mlc_priv_s {
+static struct hp_sdc_mlc_priv_s {
 	int emtestmode;
 	int emtestmode;
 	hp_sdc_transaction trans;
 	hp_sdc_transaction trans;
 	u8 tseq[16];
 	u8 tseq[16];