[PATCH] MIPS: OCTEON: fix EARLY_PRINTK_8250 build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Enabling EARLY_PRINTK_8250 breaks OCTEON builds because of multiple
prom_putchar() implementations. OCTEON provides its own prom_putchar()
(also used by the watchdog driver), so we should prevent user from
selecting EARLY_PRINTK_8250 on OCTEON.

Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxx>
Cc: stable@xxxxxxxxxxxxxxx
---
 arch/mips/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug
index b147e70..b27e65886 100644
--- a/arch/mips/Kconfig.debug
+++ b/arch/mips/Kconfig.debug
@@ -22,7 +22,7 @@ config EARLY_PRINTK
 
 config EARLY_PRINTK_8250
 	bool "8250/16550 and compatible serial early printk driver"
-	depends on EARLY_PRINTK
+	depends on EARLY_PRINTK && !CAVIUM_OCTEON_SOC
 	default n
 	help
 	  If you say Y here, it will be possible to use a 8250/16550 serial
-- 
1.9.0

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]