]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/misc/hdpuftrs/hdpu_cpustate.c
misc: fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / drivers / misc / hdpuftrs / hdpu_cpustate.c
index aa8ce7abe9221666b6e7c01dff4f7dc7321dfc84..302e92418bbef2464e0e3f8fdf85edbb47729a20 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);