mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 10:01:39 -05:00
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>
This commit is contained in:
committed by
Jassi Brar
parent
12868a6c10
commit
5f3aee4711
@@ -152,7 +152,7 @@ static int pl320_probe(struct amba_device *adev, const struct amba_id *id)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static struct amba_id pl320_ids[] = {
|
||||
static const struct amba_id pl320_ids[] = {
|
||||
{
|
||||
.id = 0x00041320,
|
||||
.mask = 0x000fffff,
|
||||
|
||||
Reference in New Issue
Block a user