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.stricted.de/?a=commitdiff_plain;h=82c333aaf4b2d6a83d9e8d6247584af8c18c4d7b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.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 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