]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mcspi can be modular...
authorDavid Brownell <david-b@pacbell.net>
Tue, 14 Aug 2007 05:49:11 +0000 (22:49 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 15 Aug 2007 10:48:11 +0000 (03:48 -0700)
Don't assume only non-modular builds.  Just in case someone's crazy.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c

index f1eb871130cd977805d528f281cf9d07af066c2c..b0d0bd612635188a4c3b1bdaf85bfc77cf7fe243 100644 (file)
@@ -146,7 +146,7 @@ static inline void omap_init_sti(void)
 static inline void omap_init_sti(void) {}
 #endif
 
-#if defined(CONFIG_SPI_OMAP24XX)
+#if defined(CONFIG_SPI_OMAP24XX) || defined(CONFIG_SPI_OMAP24XX_MODULE)
 
 #include <asm/arch/mcspi.h>