]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/of/of_i2c.c
mfd: fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / drivers / of / of_i2c.c
index 631689171159fd8d590eb5d3d58c8d55d16ccf46..5c015d310d4a9a92b493cbd7d34691c85dd6b992 100644 (file)
@@ -13,6 +13,8 @@
 
 #include <linux/i2c.h>
 #include <linux/of.h>
+#include <linux/of_i2c.h>
+#include <linux/module.h>
 
 struct i2c_driver_device {
        char    *of_device;
@@ -20,7 +22,6 @@ struct i2c_driver_device {
 };
 
 static struct i2c_driver_device i2c_devices[] = {
-       { "dallas,ds1374", "rtc-ds1374" },
 };
 
 static int of_find_i2c_driver(struct device_node *node,
@@ -113,3 +114,5 @@ void of_register_i2c_devices(struct i2c_adapter *adap,
        }
 }
 EXPORT_SYMBOL(of_register_i2c_devices);
+
+MODULE_LICENSE("GPL");