mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 18:07:03 +00:00
coresight: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5959f3d797
commit
0875957e4b
@ -667,7 +667,7 @@ static int debug_remove(struct amba_device *adev)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct amba_id debug_ids[] = {
|
static const struct amba_id debug_ids[] = {
|
||||||
{ /* Debug for Cortex-A53 */
|
{ /* Debug for Cortex-A53 */
|
||||||
.id = 0x000bbd03,
|
.id = 0x000bbd03,
|
||||||
.mask = 0x000fffff,
|
.mask = 0x000fffff,
|
||||||
|
Loading…
Reference in New Issue
Block a user