[PATCH] Fix SGI O2 compile error in drivers/video/gbefb.c

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>

authored by Joshua Kinard and committed by Linus Torvalds d3086439 726c14bf

+1 -1
+1 -1
drivers/video/gbefb.c
··· 1243 1243 (void *)gbe_tiles.cpu, gbe_tiles.dma); 1244 1244 release_mem_region(GBE_BASE, sizeof(struct sgi_gbe)); 1245 1245 iounmap(gbe); 1246 - gbefb_remove_sysfs(dev); 1246 + gbefb_remove_sysfs(&p_dev->dev); 1247 1247 framebuffer_release(info); 1248 1248 1249 1249 return 0;