diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2014-05-16 06:40:40 -0400 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@linaro.org> | 2014-07-10 20:50:53 -0400 |
commit | 5837391bbc7ab4307abf957e6cce0b83f7f9869a (patch) | |
tree | a29e1bb955cb9205e200c19fe31aa51273aefc1e | |
parent | 2111667b467748ba8a3d8950e79e6921221f41eb (diff) |
ARM: pxa: fix typo 'CONFIG_SPI_PXA2XX_MASTER'
CONFIG_SPI_PXA2XX_MASTER was used were it was surely meant to use
CONFIG_SPI_PXA2XX_MODULE. Use the IS_ENABLED() macro here, as it guards
against typos like this one.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Haojian Zhuang <haojian.zhuang@linaro.org>
-rw-r--r-- | arch/arm/mach-pxa/corgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c index 91dd1c7cdbcd..06022b235730 100644 --- a/arch/arm/mach-pxa/corgi.c +++ b/arch/arm/mach-pxa/corgi.c | |||
@@ -514,7 +514,7 @@ static struct pxa2xx_udc_mach_info udc_info __initdata = { | |||
514 | .gpio_pullup = CORGI_GPIO_USB_PULLUP, | 514 | .gpio_pullup = CORGI_GPIO_USB_PULLUP, |
515 | }; | 515 | }; |
516 | 516 | ||
517 | #if defined(CONFIG_SPI_PXA2XX) || defined(CONFIG_SPI_PXA2XX_MASTER) | 517 | #if IS_ENABLED(CONFIG_SPI_PXA2XX) |
518 | static struct pxa2xx_spi_master corgi_spi_info = { | 518 | static struct pxa2xx_spi_master corgi_spi_info = { |
519 | .num_chipselect = 3, | 519 | .num_chipselect = 3, |
520 | }; | 520 | }; |