linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/5] mach-pcm037_eet: fix compile errors
@ 2010-10-14 23:00 Eric Bénard
  2010-10-14 23:00 ` [PATCH 2/5] mx25: add defconfig Eric Bénard
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Eric Bénard @ 2010-10-14 23:00 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 arch/arm/mach-mx3/mach-pcm037_eet.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-mx3/mach-pcm037_eet.c b/arch/arm/mach-mx3/mach-pcm037_eet.c
index c8b9821..2ee5d09 100644
--- a/arch/arm/mach-mx3/mach-pcm037_eet.c
+++ b/arch/arm/mach-mx3/mach-pcm037_eet.c
@@ -14,11 +14,13 @@
 
 #include <mach/common.h>
 #include <mach/iomux-mx3.h>
+#include <mach/spi.h>
 
 #include <asm/mach-types.h>
 
 #include "pcm037.h"
 #include "devices.h"
+#include "devices-imx31.h"
 
 static unsigned int pcm037_eet_pins[] = {
 	/* Reserve and hardwire GPIO 57 high - S6E63D6 chipselect */
@@ -181,7 +183,7 @@ static int eet_init_devices(void)
 	/* SPI */
 	spi_register_board_info(pcm037_spi_dev, ARRAY_SIZE(pcm037_spi_dev));
 #if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE)
-	imx35_add_spi_imx0(&pcm037_spi1_pdata);
+	imx31_add_spi_imx0(&pcm037_spi1_pdata);
 #endif
 
 	platform_device_register(&pcm037_gpio_keys_device);
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-10-16 18:33 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-14 23:00 [PATCH 1/5] mach-pcm037_eet: fix compile errors Eric Bénard
2010-10-14 23:00 ` [PATCH 2/5] mx25: add defconfig Eric Bénard
2010-10-15  7:22   ` Uwe Kleine-König
2010-10-15  8:19     ` Eric Bénard
2010-10-14 23:00 ` [PATCH 3/5] mx27: update defconfig Eric Bénard
2010-10-15  7:27   ` Uwe Kleine-König
2010-10-14 23:00 ` [PATCH 4/5] mx3: " Eric Bénard
2010-10-14 23:00 ` [PATCH 5/5] mx51: " Eric Bénard
2010-10-15  7:07 ` [PATCH 1/5] mach-pcm037_eet: fix compile errors Uwe Kleine-König
2010-10-15 10:15   ` [PATCH v2 " Eric Bénard
2010-10-15 10:15   ` [PATCH v2 2/5] mx25: add defconfig Eric Bénard
2010-10-16 18:33     ` Baruch Siach
2010-10-15 10:15   ` [PATCH v2 3/5] mx27: update defconfig Eric Bénard
2010-10-15 10:15   ` [PATCH v2 4/5] mx3: " Eric Bénard
2010-10-15 10:15   ` [PATCH v2 5/5] mx51: " Eric Bénard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).