rivafb: fix IO access
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 8 May 2007 07:38:43 +0000 (00:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:29 +0000 (11:15 -0700)
commit895bf69b8f24907f0efa11d8e84a7eac8e47bdac
tree04494dc206341599331108a25c53380d59c3912a
parent6cf059e1bb3c7aa56f2a4468136934863184ef51
rivafb: fix IO access

Fix IO access, with the following sparse warnings:

drivers/video/riva/fbdev.c:320:25: warning: dereference of noderef expression
drivers/video/riva/fbdev.c:321:29: warning: dereference of noderef expression
drivers/video/riva/fbdev.c:327:18: warning: dereference of noderef expression
drivers/video/riva/fbdev.c:328:15: warning: dereference of noderef expression

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/riva/fbdev.c