mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 18:41:00 +07:00
gpio: pl061: 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> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
9e238e380c
commit
72c7c78e68
@ -405,7 +405,7 @@ static const struct dev_pm_ops pl061_dev_pm_ops = {
|
||||
};
|
||||
#endif
|
||||
|
||||
static struct amba_id pl061_ids[] = {
|
||||
static const struct amba_id pl061_ids[] = {
|
||||
{
|
||||
.id = 0x00041061,
|
||||
.mask = 0x000fffff,
|
||||
|
Loading…
Reference in New Issue
Block a user