fbdev: kill sparse warning in deferred IO
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 8 May 2007 07:38:44 +0000 (00:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:29 +0000 (11:15 -0700)
commit98a1153acdc2256f866599be701439577da77db3
tree8b12f8bc448ae5cc3887e01603275fb268a40197
parent895bf69b8f24907f0efa11d8e84a7eac8e47bdac
fbdev: kill sparse warning in deferred IO

Kill the following in fb_defio.c:

drivers/video/fb_defio.c:40:43: warning: incorrect type in argument 1 (different address spaces)
drivers/video/fb_defio.c:40:43:    expected void *addr
drivers/video/fb_defio.c:40:43:    got char [noderef] *screen_base<asn:2>

The framebuffer memory of these types of devices are allocated from system
RAM.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fb_defio.c