[PATCH] fbdev: riva warning fix
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Oct 2006 09:16:24 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:24 +0000 (07:55 -0700)
commit0271eb947db2704a0ff8be68d72915ab021d1ead
tree5fe268cd25a9541b9d71470c07cda062ef27c1c1
parent237fead619984cc48818fe12ee0ceada3f55b012
[PATCH] fbdev: riva warning fix

drivers/video/riva/fbdev.c: In function `riva_get_EDID_OF':
drivers/video/riva/fbdev.c:1846: warning: assignment discards qualifiers from pointer target type

This code is being bad: copying a pointer to read-only OF data into a
non-const pointer.

Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/riva/fbdev.c