projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97f5b03
)
rtc: pl031: constify amba_ids
author
Russell King
<
[email protected]
>
Fri, 29 Sep 2017 10:22:00 +0000
(11:22 +0100)
committer
Alexandre Belloni
<
[email protected]
>
Thu, 12 Oct 2017 14:27:28 +0000
(16:27 +0200)
The AMBA device IDs should be marked const. Make that so.
Reviewed-by: Linus Walleij <
[email protected]
>
Signed-off-by: Russell King <
[email protected]
>
Signed-off-by: Alexandre Belloni <
[email protected]
>
drivers/rtc/rtc-pl031.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-pl031.c
b/drivers/rtc/rtc-pl031.c
index e1687e19c59f4ad57e6dd78d5f7e8702fa411d27..0d87b90b19035151ad70536f30c813488346f903 100644
(file)
--- 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,