[PATCH] more get_property() fallout
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 23 Sep 2006 17:21:35 +0000 (18:21 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 23 Sep 2006 18:34:43 +0000 (11:34 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/riva/fbdev.c

index 61a4665fb4863247a39024db50d6e29c3e4d49a6..4acde4f7dbf8925a159fce3a9594be4bd4727e4a 100644 (file)
@@ -1826,7 +1826,7 @@ static int __devinit riva_get_EDID_OF(struct fb_info *info, struct pci_dev *pd)
 {
        struct riva_par *par = info->par;
        struct device_node *dp;
-       unsigned char *pedid = NULL;
+       const unsigned char *pedid = NULL;
        const unsigned char *disptype = NULL;
        static char *propnames[] = {
                "DFP,EDID", "LCD,EDID", "EDID", "EDID1", "EDID,B", "EDID,A", NULL };