summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2012-03-20 09:53:06 +0100
committerMatthew Garrett <mjg@redhat.com>2012-03-26 15:05:38 -0400
commit82c333aaf4b2d6a83d9e8d6247584af8c18c4d7b (patch)
tree48d2f494db3107992a737336722e8a5b1228272f /drivers
parent8522944085ffd83af129ffce06e3a9f34635391c (diff)
downloadop-kernel-dev-82c333aaf4b2d6a83d9e8d6247584af8c18c4d7b.zip
op-kernel-dev-82c333aaf4b2d6a83d9e8d6247584af8c18c4d7b.tar.gz
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')
-rw-r--r--drivers/platform/x86/samsung-laptop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c
index b7c67c8..d1142e3 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
OpenPOWER on IntegriCloud