]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
serial: sh-sci: Fix up SH7760/SH7780/SH7785 early printk regression.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 29 Jul 2008 15:56:39 +0000 (00:56 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 29 Jul 2008 15:56:39 +0000 (00:56 +0900)
commitc2697968c012cfdba2d92fa6e27e3e34f918af2f
tree3fbd20f1c67ec1a6d077f6da37b01b1622a0f8bb
parentc8b5d9dcbc94ae5e7d9ed647246df4454d25332e
serial: sh-sci: Fix up SH7760/SH7780/SH7785 early printk regression.

As noted by Manuel:

Commit c63847a3621d2bac054f5709783860ecabd0ee7e ("sh: Add
SCIF2 support for SH7763.") broke build with CONFIG_EARLY_PRINTK
enabled for me (SH7760):

  CC      arch/sh/kernel/early_printk.o
/mnt/work/sh7760/kernel/linux-2.6.git/arch/sh/kernel/early_printk.c: In function 'scif_sercon_putc':
/mnt/work/sh7760/kernel/linux-2.6.git/arch/sh/kernel/early_printk.c:84: error: implicit declaration of function 'sci_SCFDR_in'

Move the SH7763 definitions out on their own, so they don't create additional
confusion within the SH7760/SH7780/SH7785 block. Restore the deleted
SCFDR definition for these parts.

Reported-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.h