Re: [uClinux-dev] [PATCH] m68knommu: enable device config when SPI_COLDFIRE_QSPI=m

2012-05-07 Thread Steven King
On Saturday 05 May 2012 11:41:29 pm Sam Ravnborg wrote: > > > > -#ifdef CONFIG_SPI_COLDFIRE_QSPI > > +#if defined(CONFIG_SPI_COLDFIRE_QSPI) || > > defined(CONFIG_SPI_COLDFIRE_QSPI_MODULE) > > You may use "IS_ENABLED(SPI_COLDFIRE_QSPI)". See include/linux/kconfig.h Oh cool! Thats much better. On

Re: [uClinux-dev] [PATCH] m68knommu: enable device config when SPI_COLDFIRE_QSPI=m

2012-05-05 Thread Sam Ravnborg
On Sat, May 05, 2012 at 05:34:42PM -0700, Steven King wrote: > Hi Greg, > > The qspi consolidation omitted support for device initialization when the qspi > is built as a module. > > Signed-off-by: Steven King > > --- > arch/m68k/platform/520x/config.c |6 +++--- > arch/m68k/platform/523x/

[uClinux-dev] [PATCH] m68knommu: enable device config when SPI_COLDFIRE_QSPI=m

2012-05-05 Thread Steven King
Hi Greg, The qspi consolidation omitted support for device initialization when the qspi is built as a module. Signed-off-by: Steven King --- arch/m68k/platform/520x/config.c |6 +++--- arch/m68k/platform/523x/config.c |6 +++--- arch/m68k/platform/5249/config.c |6 +++--- arch/m68k