summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/sc26xx.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2012-08-01 12:00:20 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-16 23:10:16 +0400
commit221ca778d677c5ec3a33385a3b6dd548174252a6 (patch)
treead5edcdedbfcce43156e11ea220b4b2f2fd0b36c /drivers/tty/serial/sc26xx.c
parentc3a6344ae475763b6fb0fb2ec3639004f500d0f1 (diff)
downloadlinux-221ca778d677c5ec3a33385a3b6dd548174252a6.tar.xz
serial: sc26xx: Fix compile breakage
This patch fixes the following compile breakage: CC drivers/tty/serial/sc26xx.o drivers/tty/serial/sc26xx.c: In function 'read_sc_port': drivers/tty/serial/sc26xx.c:100: error: implicit declaration of function 'readb' drivers/tty/serial/sc26xx.c: In function 'write_sc_port': drivers/tty/serial/sc26xx.c:105: error: implicit declaration of function 'writeb' drivers/tty/serial/sc26xx.c: In function 'sc26xx_probe': drivers/tty/serial/sc26xx.c:652: error: implicit declaration of function 'ioremap_nocache' drivers/tty/serial/sc26xx.c:652: warning: assignment makes pointer from integer without a cast make[3]: *** [drivers/tty/serial/sc26xx.o] Error 1 make[2]: *** [drivers/tty/serial] Error 2 make[1]: *** [drivers/tty] Error 2 make: *** [drivers] Error 2 Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sc26xx.c')
-rw-r--r--drivers/tty/serial/sc26xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/sc26xx.c b/drivers/tty/serial/sc26xx.c
index e0b4b0a30a5a..3992e48b4c71 100644
--- a/drivers/tty/serial/sc26xx.c
+++ b/drivers/tty/serial/sc26xx.c
@@ -20,6 +20,7 @@
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/irq.h>
+#include <linux/io.h>
#if defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ