Skip to content

Commit 869f8df

Browse files
rddunlaptorvalds
authored andcommitted
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>
1 parent d29387e commit 869f8df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/platform/x86/dell-laptop.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,14 +589,14 @@ static const struct backlight_ops dell_ops = {
589589
.update_status = dell_send_intensity,
590590
};
591591

592-
static void touchpad_led_on()
592+
static void touchpad_led_on(void)
593593
{
594594
int command = 0x97;
595595
char data = 1;
596596
i8042_command(&data, command | 1 << 12);
597597
}
598598

599-
static void touchpad_led_off()
599+
static void touchpad_led_off(void)
600600
{
601601
int command = 0x97;
602602
char data = 2;

0 commit comments

Comments
 (0)