diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-05-02 00:30:44 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-05-02 00:30:44 -0300 |
commit | ade6577c13a32eaef761a14550dd18af91b8ace3 (patch) | |
tree | 7a031bf77984aa848e431b53d8de30eb26360f8f /linux/arch/arm/mach-pxa | |
parent | f9e3ab7bf5163867f98685166c8df8124345151b (diff) | |
download | mediapointer-dvb-s2-ade6577c13a32eaef761a14550dd18af91b8ace3.tar.gz mediapointer-dvb-s2-ade6577c13a32eaef761a14550dd18af91b8ace3.tar.bz2 |
backport commit 3760f736716f74bdc62a4ba5406934338da93eb2
Author: Jean Delvare <khali@linux-fr.org>
Date: Tue Apr 29 23:11:40 2008 +0200
i2c: Convert most new-style drivers to use module aliasing
Based on earlier work by Jon Smirl and Jochen Friedrich.
Update most new-style i2c drivers to use standard module aliasing
instead of the old driver_name/type driver matching scheme. I've
left the video drivers apart (except for SoC camera drivers) as
they're a bit more diffcult to deal with, they'll have their own
patch later.
kernel-sync:
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/arch/arm/mach-pxa')
-rw-r--r-- | linux/arch/arm/mach-pxa/pcm990-baseboard.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/linux/arch/arm/mach-pxa/pcm990-baseboard.c b/linux/arch/arm/mach-pxa/pcm990-baseboard.c index e6be9d0ae..49d951db0 100644 --- a/linux/arch/arm/mach-pxa/pcm990-baseboard.c +++ b/linux/arch/arm/mach-pxa/pcm990-baseboard.c @@ -320,16 +320,13 @@ static struct soc_camera_link iclink[] = { static struct i2c_board_info __initdata pcm990_i2c_devices[] = { { /* Must initialize before the camera(s) */ - I2C_BOARD_INFO("pca953x", 0x41), - .type = "pca9536", + I2C_BOARD_INFO("pca9536", 0x41), .platform_data = &pca9536_data, }, { I2C_BOARD_INFO("mt9v022", 0x48), - .type = "mt9v022", .platform_data = &iclink[0], /* With extender */ }, { I2C_BOARD_INFO("mt9m001", 0x5d), - .type = "mt9m001", .platform_data = &iclink[0], /* With extender */ }, }; |