[PATCH] i2c-pxa: Squash warning about discarding qualifier

Marek Vasut marek.vasut at gmail.com
Fri Aug 27 01:50:55 EDT 2010


Dne Pá 27. srpna 2010 07:35:47 Uwe Kleine-König napsal(a):
> On Thu, Aug 26, 2010 at 06:11:25AM +0200, Marek Vasut wrote:
> > Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> > ---
> > 
> >  drivers/i2c/busses/i2c-pxa.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c
> > index 020ff23..c94e51b 100644
> > --- a/drivers/i2c/busses/i2c-pxa.c
> > +++ b/drivers/i2c/busses/i2c-pxa.c
> > @@ -1001,7 +1001,7 @@ static int i2c_pxa_probe(struct platform_device
> > *dev)
> > 
> >  	struct pxa_i2c *i2c;
> >  	struct resource *res;
> >  	struct i2c_pxa_platform_data *plat = dev->dev.platform_data;
> > 
> > -	struct platform_device_id *id = platform_get_device_id(dev);
> > +	const struct platform_device_id *id = platform_get_device_id(dev);
> > 
> >  	int ret;
> >  	int irq;
> 
> This is already in mainline:
> 
> http://git.kernel.org/linus/21e2ecfe19df8f28408b5a607fef8704f51fa7f8

Eric, we need tree update here :)

Cheers



More information about the linux-arm-kernel mailing list