[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1203132258460.5229@chino.kir.corp.google.com>
Date: Tue, 13 Mar 2012 22:59:09 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Corentin Chary <corentincj@...aif.net>,
Matthew Garrett <mjg@...hat.com>
cc: platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [patch -next 2/2] 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@...gle.com>
---
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
--- 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
Powered by blists - more mailing lists