summaryrefslogtreecommitdiffstats
path: root/drivers/video/bf54x-lq043fb.c
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2008-03-10 19:44:02 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-03-11 02:01:20 +0100
commitfdcc53587fd2754ba87b0607b3f889520178a7af (patch)
tree0fc61f6bf1b4955dbdbb86babb48fbc407205a2c /drivers/video/bf54x-lq043fb.c
parentstifb: fix crash A1439A CRX (Rattler) graphics card (diff)
downloadlinux-fdcc53587fd2754ba87b0607b3f889520178a7af.tar.xz
linux-fdcc53587fd2754ba87b0607b3f889520178a7af.zip
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>
Diffstat (limited to 'drivers/video/bf54x-lq043fb.c')
-rw-r--r--drivers/video/bf54x-lq043fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/bf54x-lq043fb.c b/drivers/video/bf54x-lq043fb.c
index 0ce791e6f79c..ace5b3f3cdeb 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;
}