From: David Brownell Date: Tue, 14 Aug 2007 05:49:11 +0000 (-0700) Subject: mcspi can be modular... X-Git-Tag: v2.6.23-omap1~222 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5d8da87bc7f2cec2ef5118da39120b9c0f80e38a;p=linux-2.6-omap-h63xx.git mcspi can be modular... Don't assume only non-modular builds. Just in case someone's crazy. Signed-off-by: David Brownell Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index f1eb871130c..b0d0bd61263 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c @@ -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