• Marc Kleine-Budde's avatar
    i2c-pxa: fix compiler warning, due to missing const · 21e2ecfe
    Marc Kleine-Budde authored
    This patch adds the missing const to "struct platform_device_id" to fix
    this warning:
    
    /home/frogger/pengutronix/linux/linux-2.6/drivers/i2c/busses/i2c-pxa.c:
    In function 'i2c_pxa_probe':
    /home/frogger/pengutronix/linux/linux-2.6/drivers/i2c/busses/i2c-pxa.c:1004:
    warning: initialization discards qualifiers from pointer target type
    Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
    Cc: Eric Miao <eric.y.miao@gmail.com>
    Cc: Roel Kluin <roel.kluin@gmail.com>
    Cc: Pavel Machek <pavel@ucw.cz>
    Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
    21e2ecfe
i2c-pxa.c 27.2 KB