Message ID | 1403590699-9625-1-git-send-email-sachin.kamat@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Commit | ec17a7f20812c8f5dcd087bf760903a4253c0618 |
Headers | show |
On Tue, Jun 24, 2014 at 11:48:19AM +0530, Sachin Kamat wrote: > 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’ That warning is already fixed but swithcign to linux/io.h is an improvement anyway so applied, thanks.
diff --git a/drivers/spi/spi-omap-uwire.c b/drivers/spi/spi-omap-uwire.c index cbf67f92ec22..4c5d09eb331d 100644 --- a/drivers/spi/spi-omap-uwire.c +++ b/drivers/spi/spi-omap-uwire.c @@ -45,10 +45,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>
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> --- drivers/spi/spi-omap-uwire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)