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>
This commit is contained in:
committed by
Linus Torvalds
parent
d29387e8de
commit
869f8dfa52
@@ -589,14 +589,14 @@ static const struct backlight_ops dell_ops = {
|
|||||||
.update_status = dell_send_intensity,
|
.update_status = dell_send_intensity,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void touchpad_led_on()
|
static void touchpad_led_on(void)
|
||||||
{
|
{
|
||||||
int command = 0x97;
|
int command = 0x97;
|
||||||
char data = 1;
|
char data = 1;
|
||||||
i8042_command(&data, command | 1 << 12);
|
i8042_command(&data, command | 1 << 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void touchpad_led_off()
|
static void touchpad_led_off(void)
|
||||||
{
|
{
|
||||||
int command = 0x97;
|
int command = 0x97;
|
||||||
char data = 2;
|
char data = 2;
|
||||||
|
Reference in New Issue
Block a user