diff options
Diffstat (limited to 'drivers/video/bf54x-lq043fb.c')
-rw-r--r-- | drivers/video/bf54x-lq043fb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/bf54x-lq043fb.c b/drivers/video/bf54x-lq043fb.c index 46b03f53985f..dc2f0047769b 100644 --- a/drivers/video/bf54x-lq043fb.c +++ b/drivers/video/bf54x-lq043fb.c | |||
@@ -240,7 +240,7 @@ static int request_ports(struct bfin_bf54xfb_info *fbi) | |||
240 | u16 eppi_req_18[] = EPPI0_18; | 240 | u16 eppi_req_18[] = EPPI0_18; |
241 | u16 disp = fbi->mach_info->disp; | 241 | u16 disp = fbi->mach_info->disp; |
242 | 242 | ||
243 | if (gpio_request(disp, DRIVER_NAME)) { | 243 | if (gpio_request_one(disp, GPIOF_OUT_INIT_HIGH, DRIVER_NAME)) { |
244 | printk(KERN_ERR "Requesting GPIO %d failed\n", disp); | 244 | printk(KERN_ERR "Requesting GPIO %d failed\n", disp); |
245 | return -EFAULT; | 245 | return -EFAULT; |
246 | } | 246 | } |
@@ -263,8 +263,6 @@ static int request_ports(struct bfin_bf54xfb_info *fbi) | |||
263 | } | 263 | } |
264 | } | 264 | } |
265 | 265 | ||
266 | gpio_direction_output(disp, 1); | ||
267 | |||
268 | return 0; | 266 | return 0; |
269 | } | 267 | } |
270 | 268 | ||