projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7027d8b
)
sony-laptop: fix sparse non-ANSI function warning
author
Randy Dunlap
<randy.dunlap@oracle.com>
Sun, 9 Jan 2011 03:56:44 +0000
(19:56 -0800)
committer
Matthew Garrett
<mjg@redhat.com>
Mon, 10 Jan 2011 16:55:25 +0000
(11:55 -0500)
Fix sparse warning for non-ANSI function declaration:
drivers/platform/x86/sony-laptop.c:1134:35: warning: non-ANSI function declaration of function 'sony_nc_rfkill_update'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/sony-laptop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/sony-laptop.c
b/drivers/platform/x86/sony-laptop.c
index f200677851b8bcc508cdee1f350c3c829d31a12d..68edc97f1926d57fbdf7ef1b47557abbe496d72c 100644
(file)
--- a/
drivers/platform/x86/sony-laptop.c
+++ b/
drivers/platform/x86/sony-laptop.c
@@
-1131,7
+1131,7
@@
static int sony_nc_setup_rfkill(struct acpi_device *device,
return err;
}
-static void sony_nc_rfkill_update()
+static void sony_nc_rfkill_update(
void
)
{
enum sony_nc_rfkill i;
int result;