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-bf533/boards/stamp.c | |
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-bf533/boards/stamp.c')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/stamp.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index 1a995d18349e..ff1fd938442f 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
@@ -73,12 +73,6 @@ static struct platform_device smc91x_device = { | |||
73 | }; | 73 | }; |
74 | #endif | 74 | #endif |
75 | 75 | ||
76 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
77 | static struct platform_device bfin_fb_adv7393_device = { | ||
78 | .name = "bfin-adv7393", | ||
79 | }; | ||
80 | #endif | ||
81 | |||
82 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | 76 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) |
83 | static struct resource net2272_bfin_resources[] = { | 77 | static struct resource net2272_bfin_resources[] = { |
84 | { | 78 | { |
@@ -465,6 +459,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
465 | .irq = 39, | 459 | .irq = 39, |
466 | }, | 460 | }, |
467 | #endif | 461 | #endif |
462 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
463 | { | ||
464 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
465 | }, | ||
466 | #endif | ||
468 | }; | 467 | }; |
469 | 468 | ||
470 | static const unsigned int cclk_vlev_datasheet[] = | 469 | static const unsigned int cclk_vlev_datasheet[] = |
@@ -506,10 +505,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
506 | &smc91x_device, | 505 | &smc91x_device, |
507 | #endif | 506 | #endif |
508 | 507 | ||
509 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
510 | &bfin_fb_adv7393_device, | ||
511 | #endif | ||
512 | |||
513 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | 508 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) |
514 | &net2272_bfin_device, | 509 | &net2272_bfin_device, |
515 | #endif | 510 | #endif |