projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccdb245
)
Staging: asus_oled: do not initialise statics to 0 or NULL
author
Andre Haupt
<
[email protected]
>
Mon, 19 Jan 2009 11:00:17 +0000
(12:00 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 3 Apr 2009 21:53:15 +0000
(14:53 -0700)
fix the following error reported by checkpatch.pl
ERROR: do not initialise statics to 0 or NULL
Signed-off-by: Andre Haupt <
[email protected]
>
Cc: Jakub Schmidtke <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/asus_oled/asus_oled.c
patch
|
blob
|
history
diff --git
a/drivers/staging/asus_oled/asus_oled.c
b/drivers/staging/asus_oled/asus_oled.c
index 7718230a90605f1643a447b5f3c41876f537243a..cb632a04a995441a6b5803322190723a16e08b5c 100644
(file)
--- a/
drivers/staging/asus_oled/asus_oled.c
+++ b/
drivers/staging/asus_oled/asus_oled.c
@@
-56,10
+56,10
@@
MODULE_AUTHOR("Jakub Schmidtke,
[email protected]
");
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);