diff options
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r-- | arch/powerpc/kernel/setup-common.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index 70decd8068ca..15ade0d7bbb2 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
@@ -714,16 +714,9 @@ static struct notifier_block ppc_dflt_plat_bus_notifier = { | |||
714 | .priority = INT_MAX, | 714 | .priority = INT_MAX, |
715 | }; | 715 | }; |
716 | 716 | ||
717 | static struct notifier_block ppc_dflt_of_bus_notifier = { | ||
718 | .notifier_call = ppc_dflt_bus_notify, | ||
719 | .priority = INT_MAX, | ||
720 | }; | ||
721 | |||
722 | static int __init setup_bus_notifier(void) | 717 | static int __init setup_bus_notifier(void) |
723 | { | 718 | { |
724 | bus_register_notifier(&platform_bus_type, &ppc_dflt_plat_bus_notifier); | 719 | bus_register_notifier(&platform_bus_type, &ppc_dflt_plat_bus_notifier); |
725 | bus_register_notifier(&of_platform_bus_type, &ppc_dflt_of_bus_notifier); | ||
726 | |||
727 | return 0; | 720 | return 0; |
728 | } | 721 | } |
729 | 722 | ||