Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5837391b authored by Paul Bolle's avatar Paul Bolle Committed by Haojian Zhuang
Browse files

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: default avatarPaul Bolle <pebolle@tiscali.nl>
Acked-by: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>
parent 2111667b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
};