summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/devices.c
diff options
context:
space:
mode:
authorRenaud Barbier <renaud.barbier@ge.com>2012-08-31 15:10:33 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-09-04 11:16:48 +0200
commitb977801ac156531d1edfd0bc6ab325ed632857af (patch)
treec87779889887f8d8954da06d08bb269e38e23cb0 /arch/arm/mach-imx/devices.c
parent086d09c9134f0a6a07703806de83c365b5d71a97 (diff)
downloadbarebox-b977801ac156531d1edfd0bc6ab325ed632857af.tar.gz
barebox-b977801ac156531d1edfd0bc6ab325ed632857af.tar.xz
IMX driver: replace imx -> fsl
The IMX i2c driver is to be used by SOCs on both the ARM and PPC architetures. Use a more neutral name for the structure, function names and #define. The driver name is now "i2c-fsl". Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/devices.c')
-rw-r--r--arch/arm/mach-imx/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/devices.c b/arch/arm/mach-imx/devices.c
index 8120f56828..9fde84f1a1 100644
--- a/arch/arm/mach-imx/devices.c
+++ b/arch/arm/mach-imx/devices.c
@@ -20,7 +20,7 @@ struct device_d *imx_add_spi(void *base, int id, struct spi_imx_master *pdata)
struct device_d *imx_add_i2c(void *base, int id, struct i2c_platform_data *pdata)
{
- return imx_add_device("i2c-imx", id, base, 0x1000, pdata);
+ return imx_add_device("i2c-fsl", id, base, 0x1000, pdata);
}
struct device_d *imx_add_uart(void *base, int id)