]> bbs.cooldavid.org Git - net-next-2.6.git/commit
mach-pcm037_eet: fix compile errors
authorEric Bénard <eric@eukrea.com>
Thu, 14 Oct 2010 23:00:01 +0000 (01:00 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 19 Oct 2010 16:45:01 +0000 (18:45 +0200)
commitc0f832bca9672831fc5bdab1a0f93f80592dac4c
tree8c74dcfce4a6c8a4281791c49db0e39d6ed10de2
parentd24d96e05565c9bd81becba695131b0144c01707
mach-pcm037_eet: fix compile errors

this patch fix the following errors :
arch/arm/mach-mx3/mach-pcm037_eet.c:62: error: implicit declaration of function 'MXC_SPI_CS'
arch/arm/mach-mx3/mach-pcm037_eet.c:185: error: implicit declaration of function 'imx35_add_spi_imx0'

from the Kconfig pcm037 is i.MX31 based and not i.MX35 so replace
imx35_add_spi_imx0 by imx31_add_spi_imx0

Signed-off-by: Eric Bénard <eric@eukrea.com>
[ukl: remove unneeded #include <mach/spi.h>]
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/arm/mach-mx3/mach-pcm037_eet.c