of: Remove duplicate fields from of_platform_driver
[linux-2.6-block.git] / arch / sparc / kernel / pci_schizo.c
index 2f3f9212b063eb48a6ae859ac3d411d88c3b33fb..97a1ae2e1c02ebee8bbcdd221254f80bb46b15b4 100644 (file)
@@ -1491,8 +1491,11 @@ static struct of_device_id __initdata schizo_match[] = {
 };
 
 static struct of_platform_driver schizo_driver = {
-       .name           = DRIVER_NAME,
-       .match_table    = schizo_match,
+       .driver = {
+               .name = DRIVER_NAME,
+               .owner = THIS_MODULE,
+               .of_match_table = schizo_match,
+       },
        .probe          = schizo_probe,
 };