diff options
| -rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 8179d55106d5..966f5f84f2bd 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
| @@ -316,6 +316,19 @@ static struct regulator_consumer_supply rx51_vio_supplies[] = { | |||
| 316 | }, | 316 | }, |
| 317 | }; | 317 | }; |
| 318 | 318 | ||
| 319 | #if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) | ||
| 320 | extern struct platform_device rx51_display_device; | ||
| 321 | #endif | ||
| 322 | |||
| 323 | static struct regulator_consumer_supply rx51_vaux1_consumers[] = { | ||
| 324 | #if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) | ||
| 325 | { | ||
| 326 | .supply = "vdds_sdi", | ||
| 327 | .dev = &rx51_display_device.dev, | ||
| 328 | }, | ||
| 329 | #endif | ||
| 330 | }; | ||
| 331 | |||
| 319 | static struct regulator_init_data rx51_vaux1 = { | 332 | static struct regulator_init_data rx51_vaux1 = { |
| 320 | .constraints = { | 333 | .constraints = { |
| 321 | .name = "V28", | 334 | .name = "V28", |
| @@ -326,6 +339,8 @@ static struct regulator_init_data rx51_vaux1 = { | |||
| 326 | .valid_ops_mask = REGULATOR_CHANGE_MODE | 339 | .valid_ops_mask = REGULATOR_CHANGE_MODE |
| 327 | | REGULATOR_CHANGE_STATUS, | 340 | | REGULATOR_CHANGE_STATUS, |
| 328 | }, | 341 | }, |
| 342 | .num_consumer_supplies = ARRAY_SIZE(rx51_vaux1_consumers), | ||
| 343 | .consumer_supplies = rx51_vaux1_consumers, | ||
| 329 | }; | 344 | }; |
| 330 | 345 | ||
| 331 | static struct regulator_init_data rx51_vaux2 = { | 346 | static struct regulator_init_data rx51_vaux2 = { |
