Commit 67af7111 authored by Axel Lin's avatar Axel Lin Committed by Matthew Garrett

fujitsu-laptop: make needlessly global symbols static

The following symbols are needlessly defined global:

logolamp_led
kblamps_led

This patch makes the symbols static.
Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Cc: Matthew Garrett <mjg@redhat.com>
Acked-by: default avatarJonathan Woithe <jwoithe@physics.adelaide.edu.au>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent df92754d
...@@ -182,7 +182,7 @@ static enum led_brightness logolamp_get(struct led_classdev *cdev); ...@@ -182,7 +182,7 @@ static enum led_brightness logolamp_get(struct led_classdev *cdev);
static void logolamp_set(struct led_classdev *cdev, static void logolamp_set(struct led_classdev *cdev,
enum led_brightness brightness); enum led_brightness brightness);
struct led_classdev logolamp_led = { static struct led_classdev logolamp_led = {
.name = "fujitsu::logolamp", .name = "fujitsu::logolamp",
.brightness_get = logolamp_get, .brightness_get = logolamp_get,
.brightness_set = logolamp_set .brightness_set = logolamp_set
...@@ -192,7 +192,7 @@ static enum led_brightness kblamps_get(struct led_classdev *cdev); ...@@ -192,7 +192,7 @@ static enum led_brightness kblamps_get(struct led_classdev *cdev);
static void kblamps_set(struct led_classdev *cdev, static void kblamps_set(struct led_classdev *cdev,
enum led_brightness brightness); enum led_brightness brightness);
struct led_classdev kblamps_led = { static struct led_classdev kblamps_led = {
.name = "fujitsu::kblamps", .name = "fujitsu::kblamps",
.brightness_get = kblamps_get, .brightness_get = kblamps_get,
.brightness_set = kblamps_set .brightness_set = kblamps_set
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment