m68knommu: enable qspi support when SPI_COLDFIRE_QSPI = m
authorSteven King <sfking@fdwdc.com>
Sun, 6 May 2012 19:22:53 +0000 (12:22 -0700)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 8 May 2012 03:06:51 +0000 (13:06 +1000)
commit83ca60094e5e907b8b43c60b4c29b1119604cbb8
treec29bc1f8db186f1c6adcb205c0b7cbe1be3cef2e
parentd48b97b403d23f6df0b990cee652bdf9a52337a3
m68knommu: enable qspi support when SPI_COLDFIRE_QSPI = m

Enable Coldfire QSPI support when SPI_COLDFIRE_QSPI is built as a module.

This version of the patch combines changes to the config files and  device.c
and uses IF_ENABLED (thanks to Sam Ravnborg for the suggestion).

Signed-off-by: Steven King <sfking@fdwdc.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/platform/520x/config.c
arch/m68k/platform/523x/config.c
arch/m68k/platform/5249/config.c
arch/m68k/platform/527x/config.c
arch/m68k/platform/528x/config.c
arch/m68k/platform/532x/config.c
arch/m68k/platform/coldfire/device.c