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:
b787f68
)
regmap: Constify irq_domain_ops
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Mon, 27 Apr 2015 12:52:10 +0000
(21:52 +0900)
committer
Mark Brown
<broonie@kernel.org>
Mon, 27 Apr 2015 19:50:05 +0000
(20:50 +0100)
The irq_domain_ops are not modified by the driver and the irqdomain core
code accepts pointer to a const data.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-irq.c
patch
|
blob
|
history
diff --git
a/drivers/base/regmap/regmap-irq.c
b/drivers/base/regmap/regmap-irq.c
index a6c3f75b4b01e1145c6eb5bb9816182a0f9c9fde..e7273bb890bead7782fc10d881232c1c75556440 100644
(file)
--- a/
drivers/base/regmap/regmap-irq.c
+++ b/
drivers/base/regmap/regmap-irq.c
@@
-318,7
+318,7
@@
static int regmap_irq_map(struct irq_domain *h, unsigned int virq,
return 0;
}
-static struct irq_domain_ops regmap_domain_ops = {
+static
const
struct irq_domain_ops regmap_domain_ops = {
.map = regmap_irq_map,
.xlate = irq_domain_xlate_twocell,
};