mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-21 00:42:16 +00:00
spi/imx: mark base member in spi_imx_data as __iomem
This fixes 36 sparse warnings like: drivers/spi/spi-imx.c:143:1: warning: incorrect type in argument 1 (different address spaces) drivers/spi/spi-imx.c:143:1: expected void const volatile [noderef] <asn:2>*<noident> drivers/spi/spi-imx.c:143:1: got void * Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
5039a86973
commit
cc4d22ae54
@ -83,7 +83,7 @@ struct spi_imx_data {
|
|||||||
struct spi_bitbang bitbang;
|
struct spi_bitbang bitbang;
|
||||||
|
|
||||||
struct completion xfer_done;
|
struct completion xfer_done;
|
||||||
void *base;
|
void __iomem *base;
|
||||||
int irq;
|
int irq;
|
||||||
struct clk *clk;
|
struct clk *clk;
|
||||||
unsigned long spi_clk;
|
unsigned long spi_clk;
|
||||||
|
Loading…
Reference in New Issue
Block a user