of: Remove duplicate fields from of_platform_driver
[deliverable/linux.git] / arch / sparc / kernel / apc.c
index 71ec90b9e3167d890f9a25bf28b451c2e703c9f8..b27476caa1333d4fbc2a85b380c4eb3c392c4c97 100644 (file)
@@ -174,8 +174,11 @@ static struct of_device_id __initdata apc_match[] = {
 MODULE_DEVICE_TABLE(of, apc_match);
 
 static struct of_platform_driver apc_driver = {
-       .name           = "apc",
-       .match_table    = apc_match,
+       .driver = {
+               .name = "apc",
+               .owner = THIS_MODULE,
+               .of_match_table = apc_match,
+       },
        .probe          = apc_probe,
 };
 
This page took 0.025034 seconds and 5 git commands to generate.