]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/i2c/busses/i2c-ocores.c
i2c: Fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / drivers / i2c / busses / i2c-ocores.c
index e417c2c3ca22af0fa2520878ff07798a417ffad0..f145692cbb76ad649901ccc3553443804bde3941 100644 (file)
@@ -312,6 +312,9 @@ static int __devexit ocores_i2c_remove(struct platform_device* pdev)
        return 0;
 }
 
+/* work with hotplug and coldplug */
+MODULE_ALIAS("platform:ocores-i2c");
+
 static struct platform_driver ocores_i2c_driver = {
        .probe  = ocores_i2c_probe,
        .remove = __devexit_p(ocores_i2c_remove),