diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2007-02-12 03:55:19 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:44 -0500 |
commit | 9791d763de8cca82b42a7a579e031db78e8011ff (patch) | |
tree | b3a13693bad97543a75a53a2c5d97ad63ed26c09 /drivers/video/fbsysfs.c | |
parent | 5c52cbeb7f27e1242e88f99f7f6486a16d5733c7 (diff) |
[PATCH] fbdev modedb: make more pointer parameters const
fbdev modedb: make more input and output pointer parameters const
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: James Simmons <jsimmons@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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); |