]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/pcmcia/m8xx_pcmcia.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia
[mirror_ubuntu-artful-kernel.git] / drivers / pcmcia / m8xx_pcmcia.c
index a317defd616d0dab1ecb2b5482498ddb9978bde0..a3a851e49321542ac84659f4f3315219163430ae 100644 (file)
@@ -1303,15 +1303,4 @@ static struct platform_driver m8xx_pcmcia_driver = {
        .remove = m8xx_remove,
 };
 
-static int __init m8xx_init(void)
-{
-       return platform_driver_register(&m8xx_pcmcia_driver);
-}
-
-static void __exit m8xx_exit(void)
-{
-       platform_driver_unregister(&m8xx_pcmcia_driver);
-}
-
-module_init(m8xx_init);
-module_exit(m8xx_exit);
+module_platform_driver(m8xx_pcmcia_driver);