Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82c333aa authored by David Rientjes's avatar David Rientjes Committed by Matthew Garrett
Browse files

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: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarCorentin Chary <corentincj@iksaif.net>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 85229440
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -25,6 +25,7 @@
#include <linux/acpi.h>
#include <linux/acpi.h>
#include <linux/seq_file.h>
#include <linux/seq_file.h>
#include <linux/debugfs.h>
#include <linux/debugfs.h>
#include <linux/ctype.h>


/*
/*
 * This driver is needed because a number of Samsung laptops do not hook
 * This driver is needed because a number of Samsung laptops do not hook