]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/i2c/busses/i2c-pmcmsp.c
i2c: Fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / drivers / i2c / busses / i2c-pmcmsp.c
index 9ea0f8aa74f4119c3c436f5b452663f027ad4a65..63b3e2c11cff1a17ac67b2b21b39d49851c5143a 100644 (file)
@@ -627,6 +627,9 @@ static struct i2c_adapter pmcmsptwi_adapter = {
        .name           = DRV_NAME,
 };
 
+/* work with hotplug and coldplug */
+MODULE_ALIAS("platform:" DRV_NAME);
+
 static struct platform_driver pmcmsptwi_driver = {
        .probe  = pmcmsptwi_probe,
        .remove = __devexit_p(pmcmsptwi_remove),