summaryrefslogtreecommitdiffstats
path: root/drivers/video/riva
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-09-23 19:21:35 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-23 20:34:43 +0200
commit79da342c31ea839277060c1d2086aaf3b5cd85a4 (patch)
tree3d4accf576a5a063afbae009678917021bafd3fb /drivers/video/riva
parent[PATCH] briq_panel: read() and write() get __user pointers, damnit (diff)
downloadlinux-79da342c31ea839277060c1d2086aaf3b5cd85a4.tar.xz
linux-79da342c31ea839277060c1d2086aaf3b5cd85a4.zip
[PATCH] more get_property() fallout
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/riva')
-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 61a4665fb486..4acde4f7dbf8 100644
--- a/drivers/video/riva/fbdev.c
+++ b/drivers/video/riva/fbdev.c
@@ -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 };