From: Arvind Yadav Date: Mon, 4 Sep 2017 14:00:49 +0000 (+0200) Subject: video: ARM CLCD: constify amba_id X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bf4392bac1f559397285b3c285b85dd0330f3d43;p=linux.git 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 Cc: Russell King Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/video/fbdev/amba-clcd.c b/drivers/video/fbdev/amba-clcd.c index ffc2c33c6cef5..36d25190b48c8 100644 --- a/drivers/video/fbdev/amba-clcd.c +++ b/drivers/video/fbdev/amba-clcd.c @@ -1035,7 +1035,7 @@ static struct clcd_vendor_data vendor_nomadik = { .init_panel = nomadik_clcd_init_panel, }; -static struct amba_id clcdfb_id_table[] = { +static const struct amba_id clcdfb_id_table[] = { { .id = 0x00041110, .mask = 0x000ffffe,