[PATCH] Fix SGI O2 compile error in drivers/video/gbefb.c
authorJoshua Kinard <kumba@gentoo.org>
Fri, 17 Feb 2006 03:52:25 +0000 (03:52 +0000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 17 Feb 2006 16:53:58 +0000 (08:53 -0800)
A sysfs function call uses the wrong parameter, and thus breaks a build on
SGI O2.

  CC      drivers/video/gbefb.o
drivers/video/gbefb.c: In function ‘gbefb_remove’:
drivers/video/gbefb.c:1246: error: ‘dev’ undeclared (first use in this function)
drivers/video/gbefb.c:1246: error: (Each undeclared identifier is reported only once
drivers/video/gbefb.c:1246: error: for each function it appears in.)
make[2]: *** [drivers/video/gbefb.o] Error 1

Signed-off-by: Joshua Kinard <kumba@gentoo.org>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

No differences found