On Sunday 18 January 2009, Tony Lindgren wrote:
> 
> > > #if     !defined(CONFIG_ARCH_OMAP730) && \
> > >     !defined(CONFIG_ARCH_OMAP15XX) && \
> > >     !defined(CONFIG_ARCH_OMAP16XX) && \
> > >     !defined(CONFIG_ARCH_OMAP24XX) && \
> > >     !defined(CONFIG_ARCH_OMAP34XX)
> > > #error "Power management for this processor not implemented yet"
> > > #endif
> > 
> > I didn't realize anyone outside of TI had their hands
> > on OMAP4 chips yet.  :)
> 
> Might be worth looking what it would take to make dummy CONFIG_PM
> compile in mainline for mach-omap2.

This (against mainline) makes build+link work ...


---
 arch/arm/plat-omap/include/mach/pm.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/arm/plat-omap/include/mach/pm.h
+++ b/arch/arm/plat-omap/include/mach/pm.h
@@ -108,7 +108,7 @@
        !defined(CONFIG_ARCH_OMAP15XX) && \
        !defined(CONFIG_ARCH_OMAP16XX) && \
        !defined(CONFIG_ARCH_OMAP24XX)
-#error "Power management for this processor not implemented yet"
+#warning "Power management for this processor not implemented yet"
 #endif
 
 #ifndef __ASSEMBLER__

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to