mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-09 00:02:02 +08:00
mailbox: arm_mhu_db: 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
48e7375ec1
commit
7566d5b670
@@ -328,7 +328,7 @@ static int mhu_db_probe(struct amba_device *adev, const struct amba_id *id)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct amba_id mhu_ids[] = {
|
||||
static const struct amba_id mhu_ids[] = {
|
||||
{
|
||||
.id = 0x1bb098,
|
||||
.mask = 0xffffff,
|
||||
|
||||
Reference in New Issue
Block a user