Skip to content

Commit

Permalink
spi: omap-uwire: Fix build error
Browse files Browse the repository at this point in the history
Fixes the following build error introduced by commit b3f6a57
("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>
  • Loading branch information
Sachin Kamat authored and Mark Brown committed Jun 24, 2014
1 parent 1820a8f commit ec17a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-omap-uwire.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit ec17a7f

Please sign in to comment.