public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
* [PATCH 1/2] mx25: fix spi device registration typo
@ 2010-11-09  6:47 Baruch Siach
  2010-11-09  6:47 ` [PATCH 2/2] imx: fix USB build when USB gadget is selected Baruch Siach
  2010-11-09  9:34 ` [PATCH 1/2] mx25: fix spi device registration typo Uwe Kleine-König
  0 siblings, 2 replies; 4+ messages in thread
From: Baruch Siach @ 2010-11-09  6:47 UTC (permalink / raw)
  To: linux-arm-kernel

Commit 35bab0589b9a71533b37280eefa430c21dc102fe (ARM: imx: change the way
spi-imx devices are registered) contained a typo in mx25, leading to link time
failure.

Cc: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix•de>
Signed-off-by: Baruch Siach <baruch@tkos•co.il>
---
 arch/arm/mach-mx25/devices-imx25.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-mx25/devices-imx25.h b/arch/arm/mach-mx25/devices-imx25.h
index 93afa10..d94d282 100644
--- a/arch/arm/mach-mx25/devices-imx25.h
+++ b/arch/arm/mach-mx25/devices-imx25.h
@@ -42,9 +42,9 @@ extern const struct imx_mxc_nand_data imx25_mxc_nand_data __initconst;
 #define imx25_add_mxc_nand(pdata)	\
 	imx_add_mxc_nand(&imx25_mxc_nand_data, pdata)
 
-extern const struct imx_spi_imx_data imx25_spi_imx_data[] __initconst;
+extern const struct imx_spi_imx_data imx25_cspi_data[] __initconst;
 #define imx25_add_spi_imx(id, pdata)	\
-	imx_add_spi_imx(&imx25_spi_imx_data[id], pdata)
+	imx_add_spi_imx(&imx25_cspi_data[id], pdata)
 #define imx25_add_spi_imx0(pdata)	imx25_add_spi_imx(0, pdata)
 #define imx25_add_spi_imx1(pdata)	imx25_add_spi_imx(1, pdata)
 #define imx25_add_spi_imx2(pdata)	imx25_add_spi_imx(2, pdata)
-- 
1.7.2.3

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

end of thread, other threads:[~2010-11-09  9:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-09  6:47 [PATCH 1/2] mx25: fix spi device registration typo Baruch Siach
2010-11-09  6:47 ` [PATCH 2/2] imx: fix USB build when USB gadget is selected Baruch Siach
2010-11-09  8:48   ` Anatolij Gustschin
2010-11-09  9:34 ` [PATCH 1/2] mx25: fix spi device registration typo Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox