Re: [PATCH] Fix compile error in usb-musb.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux