mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
mailbox: arm_mhuv2: Constify amba_id table
'struct amba_id' table is not modified so can be changed to const for more safety. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
This commit is contained in:
parent
7566d5b670
commit
d3e2ea6497
1 changed files with 1 additions and 1 deletions
|
@ -1107,7 +1107,7 @@ static void mhuv2_remove(struct amba_device *adev)
|
||||||
writel_relaxed(0x0, &mhu->send->access_request);
|
writel_relaxed(0x0, &mhu->send->access_request);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct amba_id mhuv2_ids[] = {
|
static const struct amba_id mhuv2_ids[] = {
|
||||||
{
|
{
|
||||||
/* 2.0 */
|
/* 2.0 */
|
||||||
.id = 0xbb0d1,
|
.id = 0xbb0d1,
|
||||||
|
|
Loading…
Add table
Reference in a new issue