powerpc: Fix build on some non-freescale platforms
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 25 Jan 2012 02:33:22 +0000 (13:33 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 25 Jan 2012 02:33:22 +0000 (13:33 +1100)
commit3493c85366ba09c9d0972c919e7123367a39982a
tree07f72b0bb99343e195883f9a6741bee1be5e8b40
parentf7ea82beb24f65e2058fa4029edefa0949e872b1
powerpc: Fix build on some non-freescale platforms

Commit 9deaa53ac7fa373623123aa4f18828dd62292b1a broke build
on platforms that use legacy_serial.c without also having
CONFIG_SERIAL_8250_FSL enabled due to an unconditional code
to a routine in that module.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/legacy_serial.c