diff options
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r-- | arch/powerpc/kernel/setup-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index db540eab09f4..61a3f4132087 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
@@ -500,6 +500,7 @@ void __init smp_setup_cpu_sibling_map(void) | |||
500 | } | 500 | } |
501 | #endif /* CONFIG_SMP */ | 501 | #endif /* CONFIG_SMP */ |
502 | 502 | ||
503 | #ifdef CONFIG_PCSPKR_PLATFORM | ||
503 | static __init int add_pcspkr(void) | 504 | static __init int add_pcspkr(void) |
504 | { | 505 | { |
505 | struct device_node *np; | 506 | struct device_node *np; |
@@ -522,6 +523,7 @@ static __init int add_pcspkr(void) | |||
522 | return ret; | 523 | return ret; |
523 | } | 524 | } |
524 | device_initcall(add_pcspkr); | 525 | device_initcall(add_pcspkr); |
526 | #endif /* CONFIG_PCSPKR_PLATFORM */ | ||
525 | 527 | ||
526 | void probe_machine(void) | 528 | void probe_machine(void) |
527 | { | 529 | { |