powerpc: Add the PC speaker only when requested
commitd33b78df142177d51de0ed0c4f3e57c8b5e8ff89
authorEmil Medve <Emilian.Medve@Freescale.com>
Thu, 22 May 2008 22:40:16 +0000 (23 08:40 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jun 2008 03:42:30 +0000 (9 13:42 +1000)
tree36e6cdad4b3f90e927f8aa93bbf87b89ede93f8c
parentbacd73ae76c310bc3c71d21a2864746fd9696d3c
powerpc: Add the PC speaker only when requested

This eliminates this minor boot-time debugging error message:

[    1.316451] calling  add_pcspkr+0x0/0x84
[    1.316478] initcall add_pcspkr+0x0/0x84 returned -19 after 0 msecs

Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/setup-common.c