mirror of
https://github.com/torvalds/linux.git
synced 2026-01-12 00:42:35 +08: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:
committed by
Jassi Brar
parent
7566d5b670
commit
d3e2ea6497
@@ -1107,7 +1107,7 @@ static void mhuv2_remove(struct amba_device *adev)
|
||||
writel_relaxed(0x0, &mhu->send->access_request);
|
||||
}
|
||||
|
||||
static struct amba_id mhuv2_ids[] = {
|
||||
static const struct amba_id mhuv2_ids[] = {
|
||||
{
|
||||
/* 2.0 */
|
||||
.id = 0xbb0d1,
|
||||
|
||||
Reference in New Issue
Block a user