diff options
author | Corentin Chary <corentincj@iksaif.net> | 2010-11-29 02:14:12 -0500 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-01-07 17:03:44 -0500 |
commit | dfed65d56f9a94466bb4afd44ec8e900a6709cda (patch) | |
tree | 4d45ca99e48fe910a7acfb59b645c2cd3895e570 /drivers/platform | |
parent | 4c4edfa3d375109c1360ce786b9df984ca65d727 (diff) |
eeepc-wmi: remove unneeded static
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/eeepc-wmi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 5f3f42c8a989..52274e21ee89 100644 --- a/drivers/platform/x86/eeepc-wmi.c +++ b/drivers/platform/x86/eeepc-wmi.c | |||
@@ -267,7 +267,7 @@ static void tpd_led_set(struct led_classdev *led_cdev, | |||
267 | 267 | ||
268 | static int read_tpd_state(struct eeepc_wmi *eeepc) | 268 | static int read_tpd_state(struct eeepc_wmi *eeepc) |
269 | { | 269 | { |
270 | static u32 retval; | 270 | u32 retval; |
271 | acpi_status status; | 271 | acpi_status status; |
272 | 272 | ||
273 | status = eeepc_wmi_get_devstate(EEEPC_WMI_DEVID_TPDLED, &retval); | 273 | status = eeepc_wmi_get_devstate(EEEPC_WMI_DEVID_TPDLED, &retval); |
@@ -458,7 +458,7 @@ exit: | |||
458 | */ | 458 | */ |
459 | static int read_brightness(struct backlight_device *bd) | 459 | static int read_brightness(struct backlight_device *bd) |
460 | { | 460 | { |
461 | static u32 retval; | 461 | u32 retval; |
462 | acpi_status status; | 462 | acpi_status status; |
463 | 463 | ||
464 | status = eeepc_wmi_get_devstate(EEEPC_WMI_DEVID_BACKLIGHT, &retval); | 464 | status = eeepc_wmi_get_devstate(EEEPC_WMI_DEVID_BACKLIGHT, &retval); |
@@ -472,7 +472,7 @@ static int read_brightness(struct backlight_device *bd) | |||
472 | static int update_bl_status(struct backlight_device *bd) | 472 | static int update_bl_status(struct backlight_device *bd) |
473 | { | 473 | { |
474 | 474 | ||
475 | static u32 ctrl_param; | 475 | u32 ctrl_param; |
476 | acpi_status status; | 476 | acpi_status status; |
477 | 477 | ||
478 | ctrl_param = bd->props.brightness; | 478 | ctrl_param = bd->props.brightness; |