diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-07-20 18:19:45 -0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-08-03 09:49:00 -0400 |
commit | 67af7111689b0b615d27b1a5fcc553bee4639831 (patch) | |
tree | 112f99ed3bfda1916f9cf7710fad85a531850a92 /drivers/platform | |
parent | df92754dddc77003c6be9540ff91bf89fcfce890 (diff) |
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: Axel Lin <axel.lin@gmail.com>
Cc: Matthew Garrett <mjg@redhat.com>
Acked-by: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/fujitsu-laptop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c index daf95f17886b..f44cd2620ff9 100644 --- a/drivers/platform/x86/fujitsu-laptop.c +++ b/drivers/platform/x86/fujitsu-laptop.c | |||
@@ -182,7 +182,7 @@ static enum led_brightness logolamp_get(struct led_classdev *cdev); | |||
182 | static void logolamp_set(struct led_classdev *cdev, | 182 | static void logolamp_set(struct led_classdev *cdev, |
183 | enum led_brightness brightness); | 183 | enum led_brightness brightness); |
184 | 184 | ||
185 | struct led_classdev logolamp_led = { | 185 | static struct led_classdev logolamp_led = { |
186 | .name = "fujitsu::logolamp", | 186 | .name = "fujitsu::logolamp", |
187 | .brightness_get = logolamp_get, | 187 | .brightness_get = logolamp_get, |
188 | .brightness_set = logolamp_set | 188 | .brightness_set = logolamp_set |
@@ -192,7 +192,7 @@ static enum led_brightness kblamps_get(struct led_classdev *cdev); | |||
192 | static void kblamps_set(struct led_classdev *cdev, | 192 | static void kblamps_set(struct led_classdev *cdev, |
193 | enum led_brightness brightness); | 193 | enum led_brightness brightness); |
194 | 194 | ||
195 | struct led_classdev kblamps_led = { | 195 | static struct led_classdev kblamps_led = { |
196 | .name = "fujitsu::kblamps", | 196 | .name = "fujitsu::kblamps", |
197 | .brightness_get = kblamps_get, | 197 | .brightness_get = kblamps_get, |
198 | .brightness_set = kblamps_set | 198 | .brightness_set = kblamps_set |