diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-01-08 19:56:44 -0800 |
---|---|---|
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, return err; } -static void sony_nc_rfkill_update() +static void sony_nc_rfkill_update(void) { enum sony_nc_rfkill i; int result; |