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

Eric Miao eric.y.miao at gmail.com
Thu Aug 26 05:55:31 EDT 2010


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?

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



More information about the linux-arm-kernel mailing list