提交 eb508b36 编写于 作者: R Russell King 提交者: Alexandre Belloni

rtc: pl031: constify amba_ids

The AMBA device IDs should be marked const.  Make that so.
Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
上级 97f5b037
...@@ -446,7 +446,7 @@ static struct pl031_vendor_data stv2_pl031 = { ...@@ -446,7 +446,7 @@ static struct pl031_vendor_data stv2_pl031 = {
.irqflags = IRQF_SHARED | IRQF_COND_SUSPEND, .irqflags = IRQF_SHARED | IRQF_COND_SUSPEND,
}; };
static struct amba_id pl031_ids[] = { static const struct amba_id pl031_ids[] = {
{ {
.id = 0x00041031, .id = 0x00041031,
.mask = 0x000fffff, .mask = 0x000fffff,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册