From: David Rientjes Date: Tue, 20 Mar 2012 08:53:06 +0000 (+0100) Subject: drivers, samsung-laptop: fix usage of isalnum X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=82c333aaf4b2d6a83d9e8d6247584af8c18c4d7b;p=mv-sheeva.git 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 Signed-off-by: Corentin Chary Signed-off-by: Matthew Garrett --- 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 #include #include +#include /* * This driver is needed because a number of Samsung laptops do not hook