diff options
author | Andre Haupt <andre@bitwigglers.org> | 2009-01-19 11:00:17 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 21:53:15 (GMT) |
commit | b0e5ca810ae532153c9a44dbaeff529ee5028383 (patch) | |
tree | 90ae11632bad520a95519d10c4512e6473de4384 /drivers/staging/asus_oled | |
parent | ccdb24592f850c4951e76f95f8b4365be3c4e742 (diff) | |
download | linux-b0e5ca810ae532153c9a44dbaeff529ee5028383.tar.xz |
Staging: asus_oled: do not initialise statics to 0 or NULL
fix the following error reported by checkpatch.pl
ERROR: do not initialise statics to 0 or NULL
Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Cc: Jakub Schmidtke <sjakub@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/asus_oled')
-rw-r--r-- | drivers/staging/asus_oled/asus_oled.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/asus_oled/asus_oled.c b/drivers/staging/asus_oled/asus_oled.c index 7718230a..cb632a0 100644 --- a/drivers/staging/asus_oled/asus_oled.c +++ b/drivers/staging/asus_oled/asus_oled.c @@ -56,10 +56,10 @@ MODULE_AUTHOR("Jakub Schmidtke, sjakub@gmail.com"); MODULE_DESCRIPTION("Asus OLED Driver v" ASUS_OLED_VERSION); MODULE_LICENSE("GPL"); -static struct class *oled_class = NULL; -static int oled_num = 0; +static struct class *oled_class; +static int oled_num; -static uint start_off = 0; +static uint start_off; module_param(start_off, uint, 0644); |