mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
rtc: pl030: 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> Link: https://lore.kernel.org/r/20250222114146.162835-2-krzysztof.kozlowski@linaro.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
f36d6362c6
commit
72ce39bc61
|
|
@ -148,7 +148,7 @@ static void pl030_remove(struct amba_device *dev)
|
|||
amba_release_regions(dev);
|
||||
}
|
||||
|
||||
static struct amba_id pl030_ids[] = {
|
||||
static const struct amba_id pl030_ids[] = {
|
||||
{
|
||||
.id = 0x00041030,
|
||||
.mask = 0x000fffff,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user