From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Subject: [patch 2.6.23-rc2-omap1] mcspi can be modular... Date: Mon, 13 Aug 2007 22:49:11 -0700 Message-ID: <200708132249.12045.david-b@pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org Don't assume only non-modular builds. Just in case someone's crazy. Signed-off-by: David Brownell --- h4.orig/arch/arm/mach-omap2/devices.c 2007-08-13 12:31:32.000000000 -0700 +++ h4/arch/arm/mach-omap2/devices.c 2007-08-13 12:32:12.000000000 -0700 @@ -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