diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-01-08 22:56:44 -0500 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-01-10 11:55:25 -0500 |
commit | a46a780835f394869e1fbbef8b528a1e02193e78 (patch) | |
tree | 61807d531d1d14bcb7eb912c3cc85e1550ef789c /drivers/platform/x86 | |
parent | 7027d8b570244f0fa3aaebccf0bcd8e95e172631 (diff) |
sony-laptop: fix sparse non-ANSI function warning
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>
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r-- | drivers/platform/x86/sony-laptop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index f200677851b8..68edc97f1926 100644 --- 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, | |||
1131 | return err; | 1131 | return err; |
1132 | } | 1132 | } |
1133 | 1133 | ||
1134 | static void sony_nc_rfkill_update() | 1134 | static void sony_nc_rfkill_update(void) |
1135 | { | 1135 | { |
1136 | enum sony_nc_rfkill i; | 1136 | enum sony_nc_rfkill i; |
1137 | int result; | 1137 | int result; |