Skip to content

Commit 5f3aee4

Browse files
krzkJassi Brar
authored andcommitted
mailbox: pl320-ipc: 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 12868a6 commit 5f3aee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mailbox/pl320-ipc.c

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

155-
static struct amba_id pl320_ids[] = {
155+
static const struct amba_id pl320_ids[] = {
156156
{
157157
.id = 0x00041320,
158158
.mask = 0x000fffff,

0 commit comments

Comments
 (0)