From: Randy Dunlap Date: Sun, 9 Jan 2011 03:56:44 +0000 (-0800) Subject: sony-laptop: fix sparse non-ANSI function warning X-Git-Tag: v3.0~2452^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a46a780835f394869e1fbbef8b528a1e02193e78;p=platform%2Fkernel%2Flinux-amlogic.git 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 Cc: Matthew Garrett Cc: Mattia Dongili Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index f200677..68edc97f 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;