sony-laptop: fix sparse non-ANSI function warning
Subsystems (2)
PATCH 1/1 sony-laptop: fix sparse non-ANSI function warning
From: Randy Dunlap <[email protected]>
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 <[email protected]>
Cc Matthew Garrett <[email protected]>
Cc Mattia Dongili <[email protected]>
--- drivers/platform/x86/sony-laptop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/sony-laptop.c +1 -1
@@ -1131,7 +1131,7 @@ static int sony_nc_setup_rfkill(struct areturn err; } -static void sony_nc_rfkill_update () +static void sony_nc_rfkill_update (void ) {enum sony_nc_rfkill i;int result;
Matthew Garrett
AppliedApplied, thanks.
Signature · 1 line
Matthew Garrett | [email protected]