]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/i2c/busses/i2c-mv64xxx.c
- add Cogent CSB1725 board support (along with RDStor, will be split later)
[mv-sheeva.git] / drivers / i2c / busses / i2c-mv64xxx.c
index 3623a44990849987bc872480122bc1d987e2b004..6a456e72e5c707c021c23a277a59d45505902fed 100644 (file)
@@ -17,8 +17,7 @@
 #include <linux/interrupt.h>
 #include <linux/mv643xx_i2c.h>
 #include <linux/platform_device.h>
-
-#include <asm/io.h>
+#include <linux/io.h>
 
 /* Register defines */
 #define        MV64XXX_I2C_REG_SLAVE_ADDR                      0x00
@@ -498,7 +497,7 @@ mv64xxx_i2c_probe(struct platform_device *pd)
        struct mv64xxx_i2c_pdata        *pdata = pd->dev.platform_data;
        int     rc;
 
-       if ((pd->id != 0) || !pdata)
+       if (/*(pd->id != 0) ||*/ !pdata)
                return -ENODEV;
 
        drv_data = kzalloc(sizeof(struct mv64xxx_i2c_data), GFP_KERNEL);