]> Git Repo - linux.git/commitdiff
platform/x86: fix dell-laptop function prototypes
authorRandy Dunlap <[email protected]>
Thu, 17 Nov 2011 02:20:51 +0000 (18:20 -0800)
committerLinus Torvalds <[email protected]>
Thu, 17 Nov 2011 12:29:02 +0000 (10:29 -0200)
Fix build warnings:
  drivers/platform/x86/dell-laptop.c:592:13: warning: function declaration isn't a prototype
  drivers/platform/x86/dell-laptop.c:599:13: warning: function declaration isn't a prototype

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Matthew Garrett <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/platform/x86/dell-laptop.c

index a43cfd906c6d678759d241a3fae9363889e1c15d..d93e962f26100c7e0498f80f7dac437c6f0e87f5 100644 (file)
@@ -589,14 +589,14 @@ static const struct backlight_ops dell_ops = {
        .update_status  = dell_send_intensity,
 };
 
-static void touchpad_led_on()
+static void touchpad_led_on(void)
 {
        int command = 0x97;
        char data = 1;
        i8042_command(&data, command | 1 << 12);
 }
 
-static void touchpad_led_off()
+static void touchpad_led_off(void)
 {
        int command = 0x97;
        char data = 2;
This page took 0.055065 seconds and 4 git commands to generate.