diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2009-09-22 09:10:09 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-10-08 00:57:54 -0400 |
commit | 50c4c0861a0a60cd4f414457fdbfc8d9a1eb1e31 (patch) | |
tree | 350ca12a1c94cf4a48440c95582048d680455f7d /arch/blackfin/mach-bf537 | |
parent | 19a3b6034aed7d8ac5a15f5fa854523c1cf76674 (diff) |
Blackfin: convert adv7393 resources to new i2c framework
Now that the driver has been updated, convert the board resources to the
new i2c framework for managing slaves.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 1cb72a87188b..3091a149dd19 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -1056,12 +1056,6 @@ static struct platform_device bfin_fb_device = { | |||
1056 | }; | 1056 | }; |
1057 | #endif | 1057 | #endif |
1058 | 1058 | ||
1059 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
1060 | static struct platform_device bfin_fb_adv7393_device = { | ||
1061 | .name = "bfin-adv7393", | ||
1062 | }; | ||
1063 | #endif | ||
1064 | |||
1065 | #if defined(CONFIG_FB_BFIN_LQ035Q1) || defined(CONFIG_FB_BFIN_LQ035Q1_MODULE) | 1059 | #if defined(CONFIG_FB_BFIN_LQ035Q1) || defined(CONFIG_FB_BFIN_LQ035Q1_MODULE) |
1066 | #include <asm/bfin-lq035q1.h> | 1060 | #include <asm/bfin-lq035q1.h> |
1067 | 1061 | ||
@@ -1476,6 +1470,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
1476 | .platform_data = (void *)&adp5588_gpio_data, | 1470 | .platform_data = (void *)&adp5588_gpio_data, |
1477 | }, | 1471 | }, |
1478 | #endif | 1472 | #endif |
1473 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
1474 | { | ||
1475 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
1476 | }, | ||
1477 | #endif | ||
1479 | }; | 1478 | }; |
1480 | 1479 | ||
1481 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 1480 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |
@@ -1646,10 +1645,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
1646 | &bfin_lq035q1_device, | 1645 | &bfin_lq035q1_device, |
1647 | #endif | 1646 | #endif |
1648 | 1647 | ||
1649 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
1650 | &bfin_fb_adv7393_device, | ||
1651 | #endif | ||
1652 | |||
1653 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 1648 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
1654 | &bfin_uart_device, | 1649 | &bfin_uart_device, |
1655 | #endif | 1650 | #endif |