From 5d8da87bc7f2cec2ef5118da39120b9c0f80e38a Mon Sep 17 00:00:00 2001 From: David Brownell Date: Mon, 13 Aug 2007 22:49:11 -0700 Subject: [PATCH] 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 --- arch/arm/mach-omap2/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.41.1