mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
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>
This commit is contained in:
parent
46524b1404
commit
bf4392bac1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user