]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/input/misc/cobalt_btns.c
Input: add MODULE_ALIAS() to hotpluggable platform modules
[linux-2.6-omap-h63xx.git] / drivers / input / misc / cobalt_btns.c
index 5511ef006a66c591cf59df2ffde421001f282758..6a1f48b76e3298649130c8d341123bcbf2e0f131 100644 (file)
@@ -148,6 +148,9 @@ static int __devexit cobalt_buttons_remove(struct platform_device *pdev)
        return 0;
 }
 
+/* work with hotplug and coldplug */
+MODULE_ALIAS("platform:Cobalt buttons");
+
 static struct platform_driver cobalt_buttons_driver = {
        .probe  = cobalt_buttons_probe,
        .remove = __devexit_p(cobalt_buttons_remove),