]> git.baikalelectronics.ru Git - kernel.git/commit
drivers, samsung-laptop: fix usage of isalnum
authorDavid Rientjes <rientjes@google.com>
Tue, 20 Mar 2012 08:53:06 +0000 (09:53 +0100)
committerMatthew Garrett <mjg@redhat.com>
Mon, 26 Mar 2012 19:05:38 +0000 (15:05 -0400)
commitfe6de2c470ac24e3c89c03ece670c35b1c622328
tree48d2f494db3107992a737336722e8a5b1228272f
parent9f430e148356dc0051d9ce739e693c7a00adf8ab
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>
drivers/platform/x86/samsung-laptop.c