X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fvideo%2Ffbsysfs.c;h=818fb09105f9885829a392e776a9baa8e548c492;hb=ac98695d6c1508b724f246f38ce57fb4e3cec356;hp=323bdf6fc7d5c10ae1360aadf8a904f4c92a52c5;hpb=116b23b0ed36f8d5b56d16ac50266fce8de904c1;p=powerpc.git diff --git a/drivers/video/fbsysfs.c b/drivers/video/fbsysfs.c index 323bdf6fc7..818fb09105 100644 --- a/drivers/video/fbsysfs.c +++ b/drivers/video/fbsysfs.c @@ -175,7 +175,7 @@ static ssize_t store_modes(struct device *device, acquire_console_sem(); list_splice(&fb_info->modelist, &old_list); - fb_videomode_to_modelist((struct fb_videomode *)buf, i, + fb_videomode_to_modelist((const struct fb_videomode *)buf, i, &fb_info->modelist); if (fb_new_modelist(fb_info)) { fb_destroy_modelist(&fb_info->modelist);