From 82c333aaf4b2d6a83d9e8d6247584af8c18c4d7b Mon Sep 17 00:00:00 2001 From: David Rientjes Date: Tue, 20 Mar 2012 09:53:06 +0100 Subject: [PATCH] drivers, samsung-laptop: fix usage of isalnum MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- drivers/platform/x86/samsung-laptop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c index b7c67c87f47b..d1142e317433 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 -- 2.20.1