]> git.baikalelectronics.ru Git - kernel.git/commit
video: fm2fb: constify zorro_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 4 Sep 2017 14:00:49 +0000 (16:00 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 4 Sep 2017 14:00:49 +0000 (16:00 +0200)
commit1f7b2e1dab87ba1067d8b2b2ada890e488a27c06
tree28919b00966bc775fd656023ac640a1262a1b4e9
parent297dbc537d08fba6131eccf34a8fd3a18383dc92
video: fm2fb: constify zorro_device_id

zorro_device_id are not supposed to change at runtime. All functions
working with zorro_device_id provided by <linux/zorro.h> work with
const zorro_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/fm2fb.c