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

Jean Delvare khali at linux-fr.org
Thu Aug 26 07:09:43 EDT 2010


On Thu, 26 Aug 2010 17:55:31 +0800, Eric Miao wrote:
> On Thu, Aug 26, 2010 at 12:11 PM, Marek Vasut <marek.vasut at gmail.com> wrote:
> > Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> 
> Ack.
> 
> Jean & Ben, anyone help merge?

i2c-pxa is embedded -> Ben.

> 
> > ---
> >  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;
> >
> > --
> > 1.7.1
> >
> >


-- 
Jean Delvare



More information about the linux-arm-kernel mailing list