* [PATCH] platform/x86: fix dell-laptop function prototypes
@ 2011-11-17 2:20 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2011-11-17 2:20 UTC (permalink / raw)
To: Linux Kernel Mailing List, Linus Torvalds
Cc: platform-driver-x86, Matthew Garrett
From: Randy Dunlap <rdunlap@xenotime.net>
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 <rdunlap@xenotime.net>
Cc: Matthew Garrett <mjg@redhat.com>
---
drivers/platform/x86/dell-laptop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- lnx-32-rc2.orig/drivers/platform/x86/dell-laptop.c
+++ lnx-32-rc2/drivers/platform/x86/dell-laptop.c
@@ -589,14 +589,14 @@ static const struct backlight_ops dell_o
.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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-17 2:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-17 2:20 [PATCH] platform/x86: fix dell-laptop function prototypes Randy Dunlap
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.