diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-02-26 21:50:23 +0100 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-02-26 21:50:23 +0100 |
commit | 1fe054e71a895c682f1cd36071ff3fd0c7bc9cff (patch) | |
tree | 13716a35f470eb23ea340e6dd9ae135b2c20f0d0 /samples/kdb/kdb_hello.c | |
parent | ARM: S3C24XX: fix building without PM_SLEEP (diff) | |
download | linux-1fe054e71a895c682f1cd36071ff3fd0c7bc9cff.tar.xz linux-1fe054e71a895c682f1cd36071ff3fd0c7bc9cff.zip |
ARM: S3C24XX: fix header file inclusions
The pm-core.h file does not include all the necessary headers,
and has a static declaration for a function that is not
defined in the same file, causing SAMSUNG_PM_DEBUG to
break on s3c24xx:
arch/arm/mach-s3c24xx/include/mach/pm-core.h:50:91: warning: 's3c_pm_show_resume_irqs' used but never defined
arch/arm/mach-s3c24xx/include/mach/pm-core.h: In function 's3c_pm_debug_init_uart':
arch/arm/mach-s3c24xx/include/mach/pm-core.h:16:34: error: 'S3C2410_CLKCON' undeclared (first use in this function)
unsigned long tmp = __raw_readl(S3C2410_CLKCON);
^
This moves the code around slightly to avoid the errors.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'samples/kdb/kdb_hello.c')
0 files changed, 0 insertions, 0 deletions