aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2014-09-23 13:10:04 -0400
committerKukjin Kim <kgene.kim@samsung.com>2014-09-23 13:47:43 -0400
commit2c054716a57c6eac839e94129b17f73930e817eb (patch)
tree03bbd92e1cecc683be2cb7f8139632582f2096cd /arch
parentb756dc48b7645f8753516c49594157e45ba3e4f1 (diff)
ARM: SAMSUNG: Restore Samsung PM Debug functionality
Due to recently merged patches and previous merge conflicts, the Samsung PM Debug functionality no longer can be enabled. This patch fixes incorrect dependency of SAMSUNG_PM_DEBUG on an integer symbol and adds missing header inclusion. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-samsung/Kconfig5
-rw-r--r--arch/arm/plat-samsung/pm-debug.c1
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig
index c87aefbf3a13..9bd2776e7d05 100644
--- a/arch/arm/plat-samsung/Kconfig
+++ b/arch/arm/plat-samsung/Kconfig
@@ -268,8 +268,9 @@ config S5P_DEV_MFC
268comment "Power management" 268comment "Power management"
269 269
270config SAMSUNG_PM_DEBUG 270config SAMSUNG_PM_DEBUG
271 bool "S3C2410 PM Suspend debug" 271 bool "Samsung PM Suspend debug"
272 depends on PM && DEBUG_KERNEL && DEBUG_S3C_UART 272 depends on PM && DEBUG_KERNEL
273 depends on DEBUG_EXYNOS_UART || DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART
273 help 274 help
274 Say Y here if you want verbose debugging from the PM Suspend and 275 Say Y here if you want verbose debugging from the PM Suspend and
275 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> 276 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
diff --git a/arch/arm/plat-samsung/pm-debug.c b/arch/arm/plat-samsung/pm-debug.c
index 8f19f66388dd..39609601f407 100644
--- a/arch/arm/plat-samsung/pm-debug.c
+++ b/arch/arm/plat-samsung/pm-debug.c
@@ -14,6 +14,7 @@
14 */ 14 */
15 15
16#include <linux/serial_core.h> 16#include <linux/serial_core.h>
17#include <linux/serial_s3c.h>
17#include <linux/io.h> 18#include <linux/io.h>
18 19
19#include <asm/mach/map.h> 20#include <asm/mach/map.h>