diff options
Diffstat (limited to 'arch/blackfin/mach-bf527/boards/ezbrd.c')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezbrd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c index 17c6a24cc076..50bda79194e5 100644 --- a/arch/blackfin/mach-bf527/boards/ezbrd.c +++ b/arch/blackfin/mach-bf527/boards/ezbrd.c | |||
@@ -576,6 +576,8 @@ static struct platform_device bfin_sir1_device = { | |||
576 | #endif | 576 | #endif |
577 | 577 | ||
578 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) | 578 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) |
579 | static const u16 bfin_twi0_pins[] = {P_TWI0_SCL, P_TWI0_SDA, 0}; | ||
580 | |||
579 | static struct resource bfin_twi0_resource[] = { | 581 | static struct resource bfin_twi0_resource[] = { |
580 | [0] = { | 582 | [0] = { |
581 | .start = TWI0_REGBASE, | 583 | .start = TWI0_REGBASE, |
@@ -594,6 +596,9 @@ static struct platform_device i2c_bfin_twi_device = { | |||
594 | .id = 0, | 596 | .id = 0, |
595 | .num_resources = ARRAY_SIZE(bfin_twi0_resource), | 597 | .num_resources = ARRAY_SIZE(bfin_twi0_resource), |
596 | .resource = bfin_twi0_resource, | 598 | .resource = bfin_twi0_resource, |
599 | .dev = { | ||
600 | .platform_data = &bfin_twi0_pins, | ||
601 | }, | ||
597 | }; | 602 | }; |
598 | #endif | 603 | #endif |
599 | 604 | ||