summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2011-11-16 18:20:51 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-17 10:29:02 -0200
commit869f8dfa52295e75e043af618e47305e4b109bc1 (patch)
treebcf26ba9feb9b1ec2e38572496e1116b8d35a0a4 /drivers
parentd29387e8de8bdf64374874112b2b1540d3ada674 (diff)
downloadop-kernel-dev-869f8dfa52295e75e043af618e47305e4b109bc1.zip
op-kernel-dev-869f8dfa52295e75e043af618e47305e4b109bc1.tar.gz
platform/x86: fix dell-laptop function prototypes
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/platform/x86/dell-laptop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
index a43cfd9..d93e962 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -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;
OpenPOWER on IntegriCloud