diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-09-29 12:22:00 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-10-12 16:27:28 +0200 |
commit | eb508b36d549d96a7ddcf1fe0656cdd86b038fe5 (patch) | |
tree | f16e35739ce87f18118389b463ecd0b5298c19bb /drivers/rtc | |
parent | rtc: rv3029: Clean up error handling in rv3029_eeprom_write() (diff) | |
download | linux-eb508b36d549d96a7ddcf1fe0656cdd86b038fe5.tar.xz linux-eb508b36d549d96a7ddcf1fe0656cdd86b038fe5.zip |
rtc: pl031: constify amba_ids
The AMBA device IDs should be marked const. Make that so.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-pl031.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-pl031.c b/drivers/rtc/rtc-pl031.c index e1687e19c59f..0d87b90b1903 100644 --- a/drivers/rtc/rtc-pl031.c +++ b/drivers/rtc/rtc-pl031.c @@ -446,7 +446,7 @@ static struct pl031_vendor_data stv2_pl031 = { .irqflags = IRQF_SHARED | IRQF_COND_SUSPEND, }; -static struct amba_id pl031_ids[] = { +static const struct amba_id pl031_ids[] = { { .id = 0x00041031, .mask = 0x000fffff, |