From: Michael Hennerich Date: Mon, 10 Mar 2008 18:44:02 +0000 (-0700) Subject: BF54x LQ043 Framebuffer driver: fix bug NULL for gpio_request label is not allowed X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fdcc53587fd2754ba87b0607b3f889520178a7af;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git BF54x LQ043 Framebuffer driver: fix bug NULL for gpio_request label is not allowed Signed-off-by: Michael Hennerich Signed-off-by: Bryan Wu Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/bf54x-lq043fb.c b/drivers/video/bf54x-lq043fb.c index 0ce791e6f79..ace5b3f3cde 100644 --- a/drivers/video/bf54x-lq043fb.c +++ b/drivers/video/bf54x-lq043fb.c @@ -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; }