Skip to content

Commit

Permalink
backlight/leds: Make two structs static
Browse files Browse the repository at this point in the history
This patch makes two needlessly global structs static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
  • Loading branch information
Adrian Bunk authored and Richard Purdie committed Oct 11, 2007
1 parent bbf2501 commit 0ad90ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/video/backlight/backlight.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ static ssize_t backlight_show_actual_brightness(struct device *dev,
return rc;
}

struct class *backlight_class;
static struct class *backlight_class;

static void bl_device_release(struct device *dev)
{
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ static ssize_t lcd_show_max_contrast(struct device *dev,
return sprintf(buf, "%d\n", ld->props.max_contrast);
}

struct class *lcd_class;
static struct class *lcd_class;

static void lcd_device_release(struct device *dev)
{
Expand Down

0 comments on commit 0ad90ef

Please sign in to comment.