mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
BF54x LQ043 Framebuffer driver: fix bug NULL for gpio_request label is not allowed
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
6234721824
commit
fdcc53587f
@ -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 New Issue
Block a user