diff mbox

ARM: msm: remove check for CONFIG_MSM_SERIAL_DEBUGGER

Message ID 1400150395.9119.3.camel@x220 (mailing list archive)
State New, archived
Headers show

Commit Message

Paul Bolle May 15, 2014, 10:39 a.m. UTC
An (optional) check for CONFIG_MSM_SERIAL_DEBUGGER was added in v2.6.35.
But the related Kconfig symbol was never added to the tree. This check
will always evaluate to false. Remove it.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Untested.

There's another check for CONFIG_MSM_SERIAL_DEBUGGER in
board-mahimahi.c. But I submitted a patch to drop that entire board file
in https://lkml.org/lkml/2014/5/14/631 .

 arch/arm/mach-msm/board-msm7x30.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/arm/mach-msm/board-msm7x30.c b/arch/arm/mach-msm/board-msm7x30.c
index 46de789ad3ae..e3c646cc7765 100644
--- a/arch/arm/mach-msm/board-msm7x30.c
+++ b/arch/arm/mach-msm/board-msm7x30.c
@@ -125,7 +125,7 @@  struct msm_gpiomux_config msm_gpiomux_configs[GPIOMUX_NGPIOS] = {
 static struct platform_device *devices[] __initdata = {
 	&msm_clock_7x30,
 	&msm_device_gpio_7x30,
-#if defined(CONFIG_SERIAL_MSM) || defined(CONFIG_MSM_SERIAL_DEBUGGER)
+#if defined(CONFIG_SERIAL_MSM)
         &msm_device_uart2,
 #endif
 	&msm_device_smd,