diff options
Diffstat (limited to 'arch/sparc/kernel/pci_sabre.c')
-rw-r--r-- | arch/sparc/kernel/pci_sabre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/pci_sabre.c b/arch/sparc/kernel/pci_sabre.c index 99c6dba7d4fd..2d7bf30552dd 100644 --- a/arch/sparc/kernel/pci_sabre.c +++ b/arch/sparc/kernel/pci_sabre.c | |||
@@ -606,7 +606,7 @@ static struct of_platform_driver sabre_driver = { | |||
606 | 606 | ||
607 | static int __init sabre_init(void) | 607 | static int __init sabre_init(void) |
608 | { | 608 | { |
609 | return of_register_driver(&sabre_driver, &of_bus_type); | 609 | return of_register_platform_driver(&sabre_driver); |
610 | } | 610 | } |
611 | 611 | ||
612 | subsys_initcall(sabre_init); | 612 | subsys_initcall(sabre_init); |