diff options
author | Renaud Barbier <renaud.barbier@ge.com> | 2012-08-31 15:10:33 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-04 11:16:48 +0200 |
commit | b977801ac156531d1edfd0bc6ab325ed632857af (patch) | |
tree | c87779889887f8d8954da06d08bb269e38e23cb0 /arch/arm/mach-imx/devices.c | |
parent | 086d09c9134f0a6a07703806de83c365b5d71a97 (diff) | |
download | barebox-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.c | 2 |
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) |