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

Sam Ravnborg sam at ravnborg.org
Sun May 6 02:41:29 EDT 2012


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 <sfking at fdwdc.com>
> 
> ---
>  arch/m68k/platform/520x/config.c |    6 +++---
>  arch/m68k/platform/523x/config.c |    6 +++---
>  arch/m68k/platform/5249/config.c |    6 +++---
>  arch/m68k/platform/527x/config.c |    6 +++---
>  arch/m68k/platform/528x/config.c |    6 +++---
>  arch/m68k/platform/532x/config.c |    6 +++---
>  6 files changed, 18 insertions(+), 18 deletions(-)
> 
> diff --git a/arch/m68k/platform/520x/config.c b/arch/m68k/platform/520x/config.c
> index 2359478..621fe15 100644
> --- a/arch/m68k/platform/520x/config.c
> +++ b/arch/m68k/platform/520x/config.c
> @@ -22,7 +22,7 @@
>  
>  /***************************************************************************/
>  
> -#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

	Sam



More information about the uClinux-dev mailing list