diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-06 17:33:32 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-06 17:33:32 -0500 |
commit | 404a02cbd2ae8bf256a2fa1169bdfe86bb5ebb34 (patch) | |
tree | 99119edc53fdca73ed7586829b8ee736e09440b3 /arch/arm/plat-mxc/devices/platform-spi_imx.c | |
parent | 28cdac6690cb113856293bf79b40de33dbd8f974 (diff) | |
parent | 1051b9f0f9eab8091fe3bf98320741adf36b4cfa (diff) |
Merge branch 'devel-stable' into devel
Conflicts:
arch/arm/mach-pxa/clock.c
arch/arm/mach-pxa/clock.h
Diffstat (limited to 'arch/arm/plat-mxc/devices/platform-spi_imx.c')
-rw-r--r-- | arch/arm/plat-mxc/devices/platform-spi_imx.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-spi_imx.c b/arch/arm/plat-mxc/devices/platform-spi_imx.c index 17f724c9452d..8ea49adcdfc1 100644 --- a/arch/arm/plat-mxc/devices/platform-spi_imx.c +++ b/arch/arm/plat-mxc/devices/platform-spi_imx.c | |||
@@ -30,7 +30,7 @@ const struct imx_spi_imx_data imx21_cspi_data[] __initconst = { | |||
30 | }; | 30 | }; |
31 | #endif | 31 | #endif |
32 | 32 | ||
33 | #ifdef CONFIG_ARCH_MX25 | 33 | #ifdef CONFIG_SOC_IMX25 |
34 | const struct imx_spi_imx_data imx25_cspi_data[] __initconst = { | 34 | const struct imx_spi_imx_data imx25_cspi_data[] __initconst = { |
35 | #define imx25_cspi_data_entry(_id, _hwid) \ | 35 | #define imx25_cspi_data_entry(_id, _hwid) \ |
36 | imx_spi_imx_data_entry(MX25, CSPI, "imx25-cspi", _id, _hwid, SZ_16K) | 36 | imx_spi_imx_data_entry(MX25, CSPI, "imx25-cspi", _id, _hwid, SZ_16K) |
@@ -38,7 +38,7 @@ const struct imx_spi_imx_data imx25_cspi_data[] __initconst = { | |||
38 | imx25_cspi_data_entry(1, 2), | 38 | imx25_cspi_data_entry(1, 2), |
39 | imx25_cspi_data_entry(2, 3), | 39 | imx25_cspi_data_entry(2, 3), |
40 | }; | 40 | }; |
41 | #endif /* ifdef CONFIG_ARCH_MX25 */ | 41 | #endif /* ifdef CONFIG_SOC_IMX25 */ |
42 | 42 | ||
43 | #ifdef CONFIG_SOC_IMX27 | 43 | #ifdef CONFIG_SOC_IMX27 |
44 | const struct imx_spi_imx_data imx27_cspi_data[] __initconst = { | 44 | const struct imx_spi_imx_data imx27_cspi_data[] __initconst = { |
@@ -50,7 +50,7 @@ const struct imx_spi_imx_data imx27_cspi_data[] __initconst = { | |||
50 | }; | 50 | }; |
51 | #endif /* ifdef CONFIG_SOC_IMX27 */ | 51 | #endif /* ifdef CONFIG_SOC_IMX27 */ |
52 | 52 | ||
53 | #ifdef CONFIG_ARCH_MX31 | 53 | #ifdef CONFIG_SOC_IMX31 |
54 | const struct imx_spi_imx_data imx31_cspi_data[] __initconst = { | 54 | const struct imx_spi_imx_data imx31_cspi_data[] __initconst = { |
55 | #define imx31_cspi_data_entry(_id, _hwid) \ | 55 | #define imx31_cspi_data_entry(_id, _hwid) \ |
56 | imx_spi_imx_data_entry(MX31, CSPI, "imx31-cspi", _id, _hwid, SZ_4K) | 56 | imx_spi_imx_data_entry(MX31, CSPI, "imx31-cspi", _id, _hwid, SZ_4K) |
@@ -58,18 +58,18 @@ const struct imx_spi_imx_data imx31_cspi_data[] __initconst = { | |||
58 | imx31_cspi_data_entry(1, 2), | 58 | imx31_cspi_data_entry(1, 2), |
59 | imx31_cspi_data_entry(2, 3), | 59 | imx31_cspi_data_entry(2, 3), |
60 | }; | 60 | }; |
61 | #endif /* ifdef CONFIG_ARCH_MX31 */ | 61 | #endif /* ifdef CONFIG_SOC_IMX31 */ |
62 | 62 | ||
63 | #ifdef CONFIG_ARCH_MX35 | 63 | #ifdef CONFIG_SOC_IMX35 |
64 | const struct imx_spi_imx_data imx35_cspi_data[] __initconst = { | 64 | const struct imx_spi_imx_data imx35_cspi_data[] __initconst = { |
65 | #define imx35_cspi_data_entry(_id, _hwid) \ | 65 | #define imx35_cspi_data_entry(_id, _hwid) \ |
66 | imx_spi_imx_data_entry(MX35, CSPI, "imx35-cspi", _id, _hwid, SZ_4K) | 66 | imx_spi_imx_data_entry(MX35, CSPI, "imx35-cspi", _id, _hwid, SZ_4K) |
67 | imx35_cspi_data_entry(0, 1), | 67 | imx35_cspi_data_entry(0, 1), |
68 | imx35_cspi_data_entry(1, 2), | 68 | imx35_cspi_data_entry(1, 2), |
69 | }; | 69 | }; |
70 | #endif /* ifdef CONFIG_ARCH_MX35 */ | 70 | #endif /* ifdef CONFIG_SOC_IMX35 */ |
71 | 71 | ||
72 | #ifdef CONFIG_ARCH_MX51 | 72 | #ifdef CONFIG_SOC_IMX51 |
73 | const struct imx_spi_imx_data imx51_cspi_data __initconst = | 73 | const struct imx_spi_imx_data imx51_cspi_data __initconst = |
74 | imx_spi_imx_data_entry_single(MX51, CSPI, "imx51-cspi", 0, , SZ_4K); | 74 | imx_spi_imx_data_entry_single(MX51, CSPI, "imx51-cspi", 0, , SZ_4K); |
75 | 75 | ||
@@ -79,7 +79,7 @@ const struct imx_spi_imx_data imx51_ecspi_data[] __initconst = { | |||
79 | imx51_ecspi_data_entry(0, 1), | 79 | imx51_ecspi_data_entry(0, 1), |
80 | imx51_ecspi_data_entry(1, 2), | 80 | imx51_ecspi_data_entry(1, 2), |
81 | }; | 81 | }; |
82 | #endif /* ifdef CONFIG_ARCH_MX51 */ | 82 | #endif /* ifdef CONFIG_SOC_IMX51 */ |
83 | 83 | ||
84 | struct platform_device *__init imx_add_spi_imx( | 84 | struct platform_device *__init imx_add_spi_imx( |
85 | const struct imx_spi_imx_data *data, | 85 | const struct imx_spi_imx_data *data, |