On Mon, Nov 2, 2009 at 4:51 PM, <manjugk@xxxxxx> wrote: > From: Manjunatha GK <manjugk@xxxxxx> > > 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. > > Signed-off-by: Manjunatha GK <manjugk@xxxxxx> > --- > arch/arm/mach-omap2/pm-debug.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c > index 767ebbc..3a42615 100644 > --- a/arch/arm/mach-omap2/pm-debug.c > +++ b/arch/arm/mach-omap2/pm-debug.c > @@ -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... -- Regards, Vimal Singh > #endif > -- > 1.6.0.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html