diff options
Diffstat (limited to 'drivers/edac/mpc85xx_edac.c')
-rw-r--r-- | drivers/edac/mpc85xx_edac.c | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c index 4471647b4807..6c1886b497ff 100644 --- a/drivers/edac/mpc85xx_edac.c +++ b/drivers/edac/mpc85xx_edac.c | |||
@@ -338,15 +338,13 @@ static struct of_device_id mpc85xx_pci_err_of_match[] = { | |||
338 | }; | 338 | }; |
339 | 339 | ||
340 | static struct of_platform_driver mpc85xx_pci_err_driver = { | 340 | static struct of_platform_driver mpc85xx_pci_err_driver = { |
341 | .owner = THIS_MODULE, | ||
342 | .name = "mpc85xx_pci_err", | ||
343 | .match_table = mpc85xx_pci_err_of_match, | ||
344 | .probe = mpc85xx_pci_err_probe, | 341 | .probe = mpc85xx_pci_err_probe, |
345 | .remove = __devexit_p(mpc85xx_pci_err_remove), | 342 | .remove = __devexit_p(mpc85xx_pci_err_remove), |
346 | .driver = { | 343 | .driver = { |
347 | .name = "mpc85xx_pci_err", | 344 | .name = "mpc85xx_pci_err", |
348 | .owner = THIS_MODULE, | 345 | .owner = THIS_MODULE, |
349 | }, | 346 | .of_match_table = mpc85xx_pci_err_of_match, |
347 | }, | ||
350 | }; | 348 | }; |
351 | 349 | ||
352 | #endif /* CONFIG_PCI */ | 350 | #endif /* CONFIG_PCI */ |
@@ -654,15 +652,13 @@ static struct of_device_id mpc85xx_l2_err_of_match[] = { | |||
654 | }; | 652 | }; |
655 | 653 | ||
656 | static struct of_platform_driver mpc85xx_l2_err_driver = { | 654 | static struct of_platform_driver mpc85xx_l2_err_driver = { |
657 | .owner = THIS_MODULE, | ||
658 | .name = "mpc85xx_l2_err", | ||
659 | .match_table = mpc85xx_l2_err_of_match, | ||
660 | .probe = mpc85xx_l2_err_probe, | 655 | .probe = mpc85xx_l2_err_probe, |
661 | .remove = mpc85xx_l2_err_remove, | 656 | .remove = mpc85xx_l2_err_remove, |
662 | .driver = { | 657 | .driver = { |
663 | .name = "mpc85xx_l2_err", | 658 | .name = "mpc85xx_l2_err", |
664 | .owner = THIS_MODULE, | 659 | .owner = THIS_MODULE, |
665 | }, | 660 | .of_match_table = mpc85xx_l2_err_of_match, |
661 | }, | ||
666 | }; | 662 | }; |
667 | 663 | ||
668 | /**************************** MC Err device ***************************/ | 664 | /**************************** MC Err device ***************************/ |
@@ -1131,15 +1127,13 @@ static struct of_device_id mpc85xx_mc_err_of_match[] = { | |||
1131 | }; | 1127 | }; |
1132 | 1128 | ||
1133 | static struct of_platform_driver mpc85xx_mc_err_driver = { | 1129 | static struct of_platform_driver mpc85xx_mc_err_driver = { |
1134 | .owner = THIS_MODULE, | ||
1135 | .name = "mpc85xx_mc_err", | ||
1136 | .match_table = mpc85xx_mc_err_of_match, | ||
1137 | .probe = mpc85xx_mc_err_probe, | 1130 | .probe = mpc85xx_mc_err_probe, |
1138 | .remove = mpc85xx_mc_err_remove, | 1131 | .remove = mpc85xx_mc_err_remove, |
1139 | .driver = { | 1132 | .driver = { |
1140 | .name = "mpc85xx_mc_err", | 1133 | .name = "mpc85xx_mc_err", |
1141 | .owner = THIS_MODULE, | 1134 | .owner = THIS_MODULE, |
1142 | }, | 1135 | .of_match_table = mpc85xx_mc_err_of_match, |
1136 | }, | ||
1143 | }; | 1137 | }; |
1144 | 1138 | ||
1145 | #ifdef CONFIG_MPC85xx | 1139 | #ifdef CONFIG_MPC85xx |