]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[POWERPC] Remove ppc32's export of console_drivers
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 16 Jun 2008 00:50:13 +0000 (10:50 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 16 Jun 2008 05:00:56 +0000 (15:00 +1000)
commit4a96db3c780f30432653f99cbff193ba3e474e0b
treee4cd560114275a69fe13b60578e504c5cc88baf0
parentda3de6df33f5f42ff9dc40093fbc884f524c9a49
[POWERPC] Remove ppc32's export of console_drivers

There are no in-tree uses of the export any more and in linux-next there
is a change that exports it globally which causes warnings:

WARNING: vmlinux: 'console_drivers' exported twice. Previous export was in vmlinux

and in one case (mpc85xx_defconfig) a build error:

kernel/built-in.o: In function `__crc_console_drivers':
(*ABS*+0x1eb0e6f5): multiple definition of `__crc_console_drivers'

So remove the export now.  Also, there is no longer any need to include
linux/console.h.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ppc_ksyms.c