• Uwe Kleine-König's avatar
    ARM: 6322/1: imx/pca100: Fix name of spi platform data · 4df772d7
    Uwe Kleine-König authored
    Commit
    
    	7536cf99 (ARM: imx: dynamically register spi_imx devices (imx27))
    
    introduced a variable named "pca100_spi0_data" but passed
    "&pca100_spi_0_data" to imx27_add_spi_imx0.  This wasn't noticed earlier
    because both SPI_IMX and MACH_PCA100 are not enabled in mx27_defconfig.
    
    This fixes a build failure:
    
    	arch/arm/mach-imx/mach-pca100.c: In function 'pca100_init':
    	arch/arm/mach-imx/mach-pca100.c:411: error: 'pca100_spi_0_data' undeclared (first use in this function)
    	arch/arm/mach-imx/mach-pca100.c:411: error: (Each undeclared identifier is reported only once
    	arch/arm/mach-imx/mach-pca100.c:411: error: for each function it appears in.)
    Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    4df772d7
mach-pca100.c 11 KB