diff options
author | Benjamin Tissoires <benjamin.tissoires@gmail.com> | 2012-12-04 16:27:45 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-12-05 10:55:34 +0100 |
commit | ee8e8806348732e328d119418a9788aabeceed0a (patch) | |
tree | e9e222c058066c2f069737fc93ecd56feab3e692 /drivers/hid/i2c-hid | |
parent | 8ee0c05aa0c8310621fa6c8dec43e9415e5542be (diff) |
HID: i2c-hid: fix checkpatch.pl warning
We should not initialize to 0 static declarations.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/i2c-hid')
-rw-r--r-- | drivers/hid/i2c-hid/i2c-hid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c index 0fbb2290680..3c8fe467370 100644 --- a/drivers/hid/i2c-hid/i2c-hid.c +++ b/drivers/hid/i2c-hid/i2c-hid.c @@ -46,7 +46,7 @@ #define I2C_HID_PWR_SLEEP 0x01 /* debug option */ -static bool debug = false; +static bool debug; module_param(debug, bool, 0444); MODULE_PARM_DESC(debug, "print a lot of debug information"); |