diff options
author | Jiri Kosina <jkosina@suse.cz> | 2013-10-14 10:07:42 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-10-14 10:07:42 -0400 |
commit | a94c79bdc972f7b3d66756043edbd6d04e8486d6 (patch) | |
tree | bf27a6fcc9ca6c3b40083d362af95948a713a3b1 /drivers/hid | |
parent | 43c831468b3d26dbe8f2e061ccaf1abaf9cc1b8b (diff) |
HID: apple: swap_opt_cmd is already zero-initialized
Global static variable is already zero-initialized.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-apple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c index 3b219b9553fb..497558127bb3 100644 --- a/drivers/hid/hid-apple.c +++ b/drivers/hid/hid-apple.c | |||
@@ -46,7 +46,7 @@ module_param(iso_layout, uint, 0644); | |||
46 | MODULE_PARM_DESC(iso_layout, "Enable/Disable hardcoded ISO-layout of the keyboard. " | 46 | MODULE_PARM_DESC(iso_layout, "Enable/Disable hardcoded ISO-layout of the keyboard. " |
47 | "(0 = disabled, [1] = enabled)"); | 47 | "(0 = disabled, [1] = enabled)"); |
48 | 48 | ||
49 | static unsigned int swap_opt_cmd = 0; | 49 | static unsigned int swap_opt_cmd; |
50 | module_param(swap_opt_cmd, uint, 0644); | 50 | module_param(swap_opt_cmd, uint, 0644); |
51 | MODULE_PARM_DESC(swap_opt_cmd, "Swap the Option (\"Alt\") and Command (\"Flag\") keys. " | 51 | MODULE_PARM_DESC(swap_opt_cmd, "Swap the Option (\"Alt\") and Command (\"Flag\") keys. " |
52 | "(For people who want to keep Windows PC keyboard muscle memory. " | 52 | "(For people who want to keep Windows PC keyboard muscle memory. " |