summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRussell Robinson Jr <rrobinson@phytec.com>2013-07-16 16:08:06 -0700
committerAnthony Felice <tony.felice@timesys.com>2013-08-28 18:26:22 -0400
commit13ad0383ab52509b9a487f0f30bc01b54f930064 (patch)
tree2682210494847ea13565df78586a4717c669b2e0 /drivers
parentaccdcb548f0d9779e77e18a62cb57be0e0133240 (diff)
mvf: dcu: move DCU_LCD_ENABLE_PIN into the platform_data struct
Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/mvf_dcu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/mvf_dcu.c b/drivers/video/mvf_dcu.c
index 829d9443f59a..063003750052 100644
--- a/drivers/video/mvf_dcu.c
+++ b/drivers/video/mvf_dcu.c
@@ -1017,9 +1017,9 @@ static int __devinit mvf_dcu_probe(struct platform_device *pdev)
goto failed_get_resource;
}
- gpio_request_one(DCU_LCD_ENABLE_PIN, GPIOF_OUT_INIT_LOW, "DCU");
+ gpio_request_one(plat_data->enable_pin, GPIOF_OUT_INIT_LOW, "DCU");
msleep(2);
- gpio_set_value(DCU_LCD_ENABLE_PIN, 0);
+ gpio_set_value(plat_data->enable_pin, 0);
writel(0x20000000, MVF_IO_ADDRESS(MVF_TCON0_BASE_ADDR));