mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04: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 <[email protected]> Cc: Russell King <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
46524b1404
commit
bf4392bac1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue