summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-06-24 08:18:19 +0200
committerMark Brown <broonie@linaro.org>2014-06-24 17:25:48 +0200
commitec17a7f20812c8f5dcd087bf760903a4253c0618 (patch)
tree92341aaf63bfa4d11d9d2c221d664a78f90eabc0 /drivers
parentspi: omap-uwire: Ensure devm_ioremap() is prototyped (diff)
downloadlinux-ec17a7f20812c8f5dcd087bf760903a4253c0618.tar.xz
linux-ec17a7f20812c8f5dcd087bf760903a4253c0618.zip
spi: omap-uwire: Fix build error
Fixes the following build error introduced by commit b3f6a57506 ("spi: omap-uwire: use devm_ functions"): drivers/spi/spi-omap-uwire.c:465:2: error: implicit declaration of function ‘devm_ioremap’ Since we are including <linux/io.h>, <asm/io.h> is no longer needed. Remove it. Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/spi-omap-uwire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-omap-uwire.c b/drivers/spi/spi-omap-uwire.c
index 8eabbdb0a808..8bca90a19dd1 100644
--- a/drivers/spi/spi-omap-uwire.c
+++ b/drivers/spi/spi-omap-uwire.c
@@ -46,10 +46,10 @@
#include <linux/spi/spi.h>
#include <linux/spi/spi_bitbang.h>
#include <linux/module.h>
+#include <linux/io.h>
#include <asm/irq.h>
#include <mach/hardware.h>
-#include <asm/io.h>
#include <asm/mach-types.h>
#include <mach/mux.h>