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>
This commit is contained in:
parent
2111667b46
commit
5837391bbc
|
@ -514,7 +514,7 @@ static struct pxa2xx_udc_mach_info udc_info __initdata = {
|
|||
.gpio_pullup = CORGI_GPIO_USB_PULLUP,
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_PXA2XX) || defined(CONFIG_SPI_PXA2XX_MASTER)
|
||||
#if IS_ENABLED(CONFIG_SPI_PXA2XX)
|
||||
static struct pxa2xx_spi_master corgi_spi_info = {
|
||||
.num_chipselect = 3,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue