From: Stephen Rothwell Date: Wed, 10 Oct 2012 23:02:59 +0000 (+1100) Subject: Merge remote-tracking branch 'i2c-embedded/i2c-embedded/for-next' X-Git-Tag: next-20121011~53 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4c7d0624ffae5537270f117617350434d0a3d2e3;p=karo-tx-linux.git Merge remote-tracking branch 'i2c-embedded/i2c-embedded/for-next' Conflicts: drivers/i2c/busses/i2c-omap.c --- 4c7d0624ffae5537270f117617350434d0a3d2e3 diff --cc arch/arm/plat-omap/i2c.c index 6013831a043e,dba8338f6cd7..a5683a84c6ee --- a/arch/arm/plat-omap/i2c.c +++ b/arch/arm/plat-omap/i2c.c @@@ -32,8 -31,8 +31,7 @@@ #include #include -#include #include - #include #include #define OMAP_I2C_SIZE 0x3f diff --cc drivers/i2c/busses/i2c-davinci.c index 79a2542d8c41,85ce548ff152..6a0a55319449 --- a/drivers/i2c/busses/i2c-davinci.c +++ b/drivers/i2c/busses/i2c-davinci.c @@@ -38,9 -38,11 +38,11 @@@ #include #include #include + #include + #include #include -#include +#include /* ----- global defines ----------------------------------------------- */ diff --cc drivers/i2c/busses/i2c-omap.c index a0e49f6aaf96,b6c6b95d4a07..db31eaed6ea5 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@@ -943,12 -1057,11 +1057,12 @@@ omap_i2c_probe(struct platform_device * { struct omap_i2c_dev *dev; struct i2c_adapter *adap; - struct resource *mem, *irq, *ioarea; + struct resource *mem; - struct omap_i2c_bus_platform_data *pdata = pdev->dev.platform_data; + const struct omap_i2c_bus_platform_data *pdata = + pdev->dev.platform_data; struct device_node *node = pdev->dev.of_node; const struct of_device_id *match; - irq_handler_t isr; + int irq; int r; /* NOTE: driver uses the static register mapping */