Skip to contentSkip to conversation

ARM: msm: remove check for CONFIG_MSM_SERIAL_DEBUGGER

PATCH New Paul Bolle 1 participant 1 message May 15, 2014

Subsystems (3)
lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 ARM: msm: remove check for CONFIG_MSM_SERIAL_DEBUGGER

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.

---
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(-)
arch/arm/mach-msm/board-msm7x30.c +1 -1
index 46de789ad3ae..e3c646cc7765 100644
@@ -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,
Signature · 1 line
1.9.0