Skip to content

Commit

Permalink
Staging: asus_oled: do not initialise statics to 0 or NULL
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andre Haupt authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent ccdb245 commit b0e5ca8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/asus_oled/asus_oled.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b0e5ca8

Please sign in to comment.