Skip to content

Commit

Permalink
sony-laptop: fix sparse non-ANSI function warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Matthew Garrett committed Jan 10, 2011
1 parent 7027d8b commit a46a780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/sony-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a46a780

Please sign in to comment.