Skip to content

Commit d3e2ea6

Browse files
krzkJassi Brar
authored andcommitted
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>
1 parent 7566d5b commit d3e2ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mailbox/arm_mhuv2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ static void mhuv2_remove(struct amba_device *adev)
11071107
writel_relaxed(0x0, &mhu->send->access_request);
11081108
}
11091109

1110-
static struct amba_id mhuv2_ids[] = {
1110+
static const struct amba_id mhuv2_ids[] = {
11111111
{
11121112
/* 2.0 */
11131113
.id = 0xbb0d1,

0 commit comments

Comments
 (0)