diff options
author | David Rientjes <rientjes@google.com> | 2012-03-20 09:53:06 +0100 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-03-26 15:05:38 -0400 |
commit | 82c333aaf4b2d6a83d9e8d6247584af8c18c4d7b (patch) | |
tree | 48d2f494db3107992a737336722e8a5b1228272f /drivers/platform | |
parent | 8522944085ffd83af129ffce06e3a9f34635391c (diff) |
drivers, samsung-laptop: fix usage of isalnum
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/samsung-laptop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c index b7c67c87f47..d1142e31743 100644 --- a/drivers/platform/x86/samsung-laptop.c +++ b/drivers/platform/x86/samsung-laptop.c @@ -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 |