]> err.no Git - linux-2.6/commitdiff
BF54x LQ043 Framebuffer driver: fix bug NULL for gpio_request label is not allowed
authorMichael Hennerich <michael.hennerich@analog.com>
Mon, 10 Mar 2008 18:44:02 +0000 (11:44 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 11 Mar 2008 01:01:20 +0000 (18:01 -0700)
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>
drivers/video/bf54x-lq043fb.c

index 0ce791e6f79cee17b7c16072042d6b5d5b26206c..ace5b3f3cdeb0a630146573a052ce02cf90478ee 100644 (file)
@@ -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;
        }