lkml.org 
[lkml]   [2014]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] ARM: msm: remove check for CONFIG_MSM_SERIAL_DEBUGGER
From
Date
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 --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,
--
1.9.0


\
 
 \ /
  Last update: 2014-05-15 13:21    [W:0.024 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site