misc: fix platform driver hotplug/coldplug
[linux-2.6.git] / drivers / misc / hdpuftrs / hdpu_cpustate.c
index aa8ce7a..302e924 100644 (file)
@@ -164,6 +164,7 @@ static struct platform_driver hdpu_cpustate_driver = {
        .remove = hdpu_cpustate_remove,
        .driver = {
                .name = HDPU_CPUSTATE_NAME,
+               .owner = THIS_MODULE,
        },
 };
 
@@ -248,3 +249,4 @@ module_exit(cpustate_exit);
 
 MODULE_AUTHOR("Brian Waite");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:" HDPU_CPUSTATE_NAME);