mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
BF54x LQ043 Framebuffer driver: fix bug NULL for gpio_request label is not allowed
Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Bryan Wu <[email protected]> Cc: "Antonino A. Daplas" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6234721824
commit
fdcc53587f
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ static int request_ports(struct bfin_bf54xfb_info *fbi)
|
|||
u16 eppi_req_18[] = EPPI0_18;
|
||||
u16 disp = fbi->mach_info->disp;
|
||||
|
||||
if (gpio_request(disp, NULL)) {
|
||||
if (gpio_request(disp, DRIVER_NAME)) {
|
||||
printk(KERN_ERR "Requesting GPIO %d faild\n", disp);
|
||||
return -EFAULT;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue