]> git.baikalelectronics.ru Git - kernel.git/commit
video: ARM CLCD: constify amba_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)
commitcdbdf98bbbf63aa11f22b2832af501cc12226d51
tree38198c9c9fbf8eff09ff416f3f9c0ba8ad76854a
parent1f7b2e1dab87ba1067d8b2b2ada890e488a27c06
video: ARM CLCD: constify amba_id

amba_id are not supposed to change at runtime. All functions
working with const amba_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/amba-clcd.c