Fix omap zoom2 defconfig build error
PATCH v2 1/1 Fix omap zoom2 defconfig build error
From: Manjunatha GK <[email protected]>
The omap zoom2 defconfig build breaks on linux-omap-pm(with pm branch) when CONFIG_DEBUG_FS is not enabled. This patch fixes the build issue. Kernel booting tested on omap zoom2 board.
--- arch/arm/mach-omap2/pm-debug.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/pm-debug.c +2 -0
@@ -625,4 +625,6 @@ arch_initcall(pm_dbg_init);#else void pm_dbg_update_time (struct powerdomain *pwrdm,int prev) {} +int pm_dbg_regset_init (int reg_set) {} +int pm_dbg_regset_save (int reg_set) {}#endif
Signature · 1 line
1.6.0.4
Quoted 16 lines · On Mon, Nov 2, 2009 at 4:51 PM, <[email protected]> wrote:
From: Manjunatha GK <[email protected]>
The omap zoom2 defconfig build breaks on linux-omap-pm(with pm branch) when
CONFIG_DEBUG_FSis not enabled. This patch fixes the build issue. Kernel booting tested on omap zoom2 board.Signed-off-by Manjunatha GK <[email protected]>---
arch/arm/mach-omap2/pm-debug.c | 2 ++1 files changed, 2 insertions(+), 0 deletions(-)arch/arm/mach-omap2/pm-debug.c +0
-0
arch/arm/mach-omap2/pm-debug.c arch_initcall(pm_dbg_init); · line 629
Quoted 5 lines
arch/arm/mach-omap2/pm-debug.c +2
-0@@ -625,4 +625,6 @@ arch_initcall(pm_dbg_init); #else void pm_dbg_update_time(struct powerdomain *pwrdm, int prev) {} +int pm_dbg_regset_init (int reg_set) {} +int pm_dbg_regset_save (int reg_set) {}
'return 0' to avoid compilation warning...
Signature · 2 lines
Regards, Vimal Singh
Quoted 9 lines
arch/arm/mach-omap2/pm-debug.c +0
-1#endif --1.6.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html