Skip to content

Commit

Permalink
drivers, samsung-laptop: fix usage of isalnum
Browse files Browse the repository at this point in the history
linux/ctype.h is needed for isalnum() to avoid a build error:

drivers/platform/x86/samsung-laptop.c: In function ‘samsung_sabi_diag’:
drivers/platform/x86/samsung-laptop.c:1306: error: implicit declaration of function ‘isalnum’

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
  • Loading branch information
David Rientjes authored and Matthew Garrett committed Mar 26, 2012
1 parent 8522944 commit 82c333a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/platform/x86/samsung-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <linux/acpi.h>
#include <linux/seq_file.h>
#include <linux/debugfs.h>
#include <linux/ctype.h>

/*
* This driver is needed because a number of Samsung laptops do not hook
Expand Down

0 comments on commit 82c333a

Please sign in to comment.