summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-mt65xx.c
diff options
context:
space:
mode:
authorLeilk Liu <leilk.liu@mediatek.com>2015-08-24 05:45:15 +0200
committerMark Brown <broonie@kernel.org>2015-08-25 19:48:23 +0200
commitdd69a0a69c9ee3e09da7f3771c1aa420e49464ce (patch)
tree292e1dd37fd8cc8cb4980526a382cea422b0d593 /drivers/spi/spi-mt65xx.c
parentspi: mediatek: use BIT() to instead of SPI_CMD_*_OFFSET (diff)
downloadlinux-dd69a0a69c9ee3e09da7f3771c1aa420e49464ce.tar.xz
linux-dd69a0a69c9ee3e09da7f3771c1aa420e49464ce.zip
spi: mediatek: add linux/io.h include file
mediatek spi driver uses readl/writel, so add linux/io.h, even so it's implicitly imported by spi/spi.h Signed-off-by: Leilk Liu <leilk.liu@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-mt65xx.c')
-rw-r--r--drivers/spi/spi-mt65xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c
index 516b4ed757e5..46d14772c0cc 100644
--- a/drivers/spi/spi-mt65xx.c
+++ b/drivers/spi/spi-mt65xx.c
@@ -16,6 +16,7 @@
#include <linux/device.h>
#include <linux/err.h>
#include <linux/interrupt.h>
+#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/of.h>