of: Remove duplicate fields from of_platform_driver
[deliverable/linux.git] / drivers / pcmcia / m8xx_pcmcia.c
index 41cc954a5ffee1dd2a87bd4374bd69f22ddb4f9e..1a648b90b634890512ffb95560c1944d5d7a214a 100644 (file)
@@ -1298,8 +1298,11 @@ static const struct of_device_id m8xx_pcmcia_match[] = {
 MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match);
 
 static struct of_platform_driver m8xx_pcmcia_driver = {
-       .name = driver_name,
-       .match_table = m8xx_pcmcia_match,
+       .driver = {
+               .name = driver_name,
+               .owner = THIS_MODULE,
+               .match_table = m8xx_pcmcia_match,
+       },
        .probe = m8xx_probe,
        .remove = m8xx_remove,
 };
This page took 0.024978 seconds and 5 git commands to generate.