aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/pcmcia
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-11-16 16:23:30 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-16 16:32:57 +0100
commitee76bba7e547b386d641bff0b7408b598ec422a1 (patch)
tree5ddb5115e11d7ce25a8ae62faba056a67b9f8e49 /drivers/char/pcmcia
parentlkdtm: Prevent the compiler from optimising lkdtm_CORRUPT_STACK() (diff)
downloadlinux-dev-ee76bba7e547b386d641bff0b7408b598ec422a1.tar.xz
linux-dev-ee76bba7e547b386d641bff0b7408b598ec422a1.zip
scr24x_cs: include linux/io.h
The newly added scr24x_cs driver doesn't build in some configurations: drivers/char/pcmcia/scr24x_cs.c: In function 'scr24x_wait_ready': drivers/char/pcmcia/scr24x_cs.c:76:12: error: implicit declaration of function 'ioread8' [-Werror=implicit-function-declaration] Adding in explicit include for the right header makes it work. Fixes: f2ed287bcc90 ("char/pcmcia: add scr24x_cs chip card interface driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/pcmcia')
-rw-r--r--drivers/char/pcmcia/scr24x_cs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/pcmcia/scr24x_cs.c b/drivers/char/pcmcia/scr24x_cs.c
index 4f215ce1a3be..a1de354a89a7 100644
--- a/drivers/char/pcmcia/scr24x_cs.c
+++ b/drivers/char/pcmcia/scr24x_cs.c
@@ -27,6 +27,7 @@
#include <linux/cdev.h>
#include <linux/slab.h>
#include <linux/fs.h>
+#include <linux/io.h>
#include <linux/uaccess.h>
#include <pcmcia/cistpl.h>