summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/devices.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-02-09 10:38:03 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-02-10 08:41:25 +0100
commit0ad1e8d8df6f22c5a0d1e2a6c0b0769f92d52130 (patch)
tree18b8523eeee6a794917b40a68a8226486f382ca0 /arch/arm/mach-imx/include/mach/devices.h
parentc68acd82f680364d56c5dae7469326545d00012a (diff)
downloadbarebox-0ad1e8d8df6f22c5a0d1e2a6c0b0769f92d52130.tar.gz
barebox-0ad1e8d8df6f22c5a0d1e2a6c0b0769f92d52130.tar.xz
spi: imx: Use device ids
To let the driver work on all SoCs without the use of cpu_is_*() Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/include/mach/devices.h')
-rw-r--r--arch/arm/mach-imx/include/mach/devices.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/include/mach/devices.h b/arch/arm/mach-imx/include/mach/devices.h
index 59296585af..4c07f464c2 100644
--- a/arch/arm/mach-imx/include/mach/devices.h
+++ b/arch/arm/mach-imx/include/mach/devices.h
@@ -11,7 +11,9 @@
struct device_d *imx_add_fec_imx27(void *base, struct fec_platform_data *pdata);
struct device_d *imx_add_fec_imx6(void *base, struct fec_platform_data *pdata);
-struct device_d *imx_add_spi(void *base, int id, struct spi_imx_master *pdata);
+struct device_d *imx_add_spi_imx27(void *base, int id, struct spi_imx_master *pdata);
+struct device_d *imx_add_spi_imx35(void *base, int id, struct spi_imx_master *pdata);
+struct device_d *imx_add_spi_imx51(void *base, int id, struct spi_imx_master *pdata);
struct device_d *imx_add_i2c(void *base, int id, struct i2c_platform_data *pdata);
struct device_d *imx_add_uart_imx1(void *base, int id);
struct device_d *imx_add_uart_imx21(void *base, int id);