On Thu, 29 Mar 2012 21:54:18 +0200, Uwe Kleine-König
<[email protected]> wrote:
> 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 <[email protected]>
Applied, thanks
g.
> ---
> drivers/spi/spi-imx.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c
> index 31054e3..373f4ff 100644
> --- a/drivers/spi/spi-imx.c
> +++ b/drivers/spi/spi-imx.c
> @@ -83,7 +83,7 @@ struct spi_imx_data {
> struct spi_bitbang bitbang;
>
> struct completion xfer_done;
> - void *base;
> + void __iomem *base;
> int irq;
> struct clk *clk;
> unsigned long spi_clk;
> --
> 1.7.9.1
>
--
Grant Likely, B.Sc, P.Eng.
Secret Lab Technologies,Ltd.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general