diff options
Diffstat (limited to 'arch/sparc/kernel/pci_psycho.c')
-rw-r--r-- | arch/sparc/kernel/pci_psycho.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/sparc/kernel/pci_psycho.c b/arch/sparc/kernel/pci_psycho.c index e675e21c6df6..558a70512824 100644 --- a/arch/sparc/kernel/pci_psycho.c +++ b/arch/sparc/kernel/pci_psycho.c | |||
@@ -602,8 +602,11 @@ static struct of_device_id __initdata psycho_match[] = { | |||
602 | }; | 602 | }; |
603 | 603 | ||
604 | static struct of_platform_driver psycho_driver = { | 604 | static struct of_platform_driver psycho_driver = { |
605 | .name = DRIVER_NAME, | 605 | .driver = { |
606 | .match_table = psycho_match, | 606 | .name = DRIVER_NAME, |
607 | .owner = THIS_MODULE, | ||
608 | .of_match_table = psycho_match, | ||
609 | }, | ||
607 | .probe = psycho_probe, | 610 | .probe = psycho_probe, |
608 | }; | 611 | }; |
609 | 612 | ||