Skip to content

Commit 48e7375

Browse files
krzkJassi Brar
authored andcommitted
mailbox: arm_mhu: 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 5f3aee4 commit 48e7375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mailbox/arm_mhu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ static int mhu_probe(struct amba_device *adev, const struct amba_id *id)
153153
return 0;
154154
}
155155

156-
static struct amba_id mhu_ids[] = {
156+
static const struct amba_id mhu_ids[] = {
157157
{
158158
.id = 0x1bb098,
159159
.mask = 0xffffff,

0 commit comments

Comments
 (0)