]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/i2c/busses/i2c-ibm_iic.c
i2c: Remove unneeded inclusions of <linux/i2c-id.h>
[net-next-2.6.git] / drivers / i2c / busses / i2c-ibm_iic.c
index 43ca32fddde2b77309c92533f9c2c50e44719879..6e3c38240336234562ee765ea95687fb2c3ed684 100644 (file)
@@ -41,7 +41,6 @@
 #include <asm/irq.h>
 #include <linux/io.h>
 #include <linux/i2c.h>
-#include <linux/i2c-id.h>
 #include <linux/of_platform.h>
 #include <linux/of_i2c.h>
 
@@ -761,6 +760,9 @@ static int __devinit iic_probe(struct platform_device *ofdev,
        dev_info(&ofdev->dev, "using %s mode\n",
                 dev->fast_mode ? "fast (400 kHz)" : "standard (100 kHz)");
 
+       /* Now register all the child nodes */
+       of_i2c_register_devices(adap);
+
        return 0;
 
 error_cleanup: