aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/riva/fbdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c
index b120896c8ab4..a433cc78ef90 100644
--- a/drivers/video/riva/fbdev.c
+++ b/drivers/video/riva/fbdev.c
@@ -1843,7 +1843,7 @@ static int __devinit riva_get_EDID_OF(struct fb_info *info, struct pci_dev *pd)
1843 for (i = 0; propnames[i] != NULL; ++i) { 1843 for (i = 0; propnames[i] != NULL; ++i) {
1844 pedid = get_property(dp, propnames[i], NULL); 1844 pedid = get_property(dp, propnames[i], NULL);
1845 if (pedid != NULL) { 1845 if (pedid != NULL) {
1846 par->EDID = pedid; 1846 par->EDID = (unsigned char *)pedid;
1847 NVTRACE("LCD found.\n"); 1847 NVTRACE("LCD found.\n");
1848 return 1; 1848 return 1;
1849 } 1849 }