sh: sh-sci - fix SH7708 support
authorMagnus Damm <damm@igel.co.jp>
Thu, 26 Jul 2007 01:14:16 +0000 (10:14 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 26 Jul 2007 06:35:54 +0000 (15:35 +0900)
commit0fbde9509d7b2f71b9326f9c5807a0b4193c7c76
treef6c027713f2607c086760f460831e71ecbd44f3d
parentac79fd58a25dbd9848f2c2857da6a79494dabb9a
sh: sh-sci - fix SH7708 support

This patch makes sure the sci serial port driver compiles for sh7708.
The approach taken is to treat the sh7708 as a subset of sh7706, sh7707,
sh7709. sh7708 is very similar to sh7706, sh7707, sh7709, but only
equipped with a single sci port. The platform data in setup-sh770x.c
already limits the number of serial ports for sh7708 to a single one,
so the non-existing scif ports pointed out in sh-sci.h will remain
unused in case of sh7708.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.h