of: Remove duplicate fields from of_platform_driver
[linux-2.6-block.git] / drivers / usb / host / fhci-hcd.c
index 6135732d8057b8f8571cc0e5f81c4b769c61b2b4..7b5c62654bfd5baaea2f4de0b4b6f839fa4cb678 100644 (file)
@@ -813,8 +813,11 @@ static const struct of_device_id of_fhci_match[] = {
 MODULE_DEVICE_TABLE(of, of_fhci_match);
 
 static struct of_platform_driver of_fhci_driver = {
-       .name           = "fsl,usb-fhci",
-       .match_table    = of_fhci_match,
+       .driver = {
+               .name = "fsl,usb-fhci",
+               .owner = THIS_MODULE,
+               .of_match_table = of_fhci_match,
+       },
        .probe          = of_fhci_probe,
        .remove         = __devexit_p(of_fhci_remove),
 };