diff options
Diffstat (limited to 'drivers/video/fbsysfs.c')
-rw-r--r-- | drivers/video/fbsysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbsysfs.c b/drivers/video/fbsysfs.c index 323bdf6fc7d5..818fb09105f9 100644 --- a/drivers/video/fbsysfs.c +++ b/drivers/video/fbsysfs.c | |||
@@ -175,7 +175,7 @@ static ssize_t store_modes(struct device *device, | |||
175 | 175 | ||
176 | acquire_console_sem(); | 176 | acquire_console_sem(); |
177 | list_splice(&fb_info->modelist, &old_list); | 177 | list_splice(&fb_info->modelist, &old_list); |
178 | fb_videomode_to_modelist((struct fb_videomode *)buf, i, | 178 | fb_videomode_to_modelist((const struct fb_videomode *)buf, i, |
179 | &fb_info->modelist); | 179 | &fb_info->modelist); |
180 | if (fb_new_modelist(fb_info)) { | 180 | if (fb_new_modelist(fb_info)) { |
181 | fb_destroy_modelist(&fb_info->modelist); | 181 | fb_destroy_modelist(&fb_info->modelist); |