提交 d6c27678 编写于 作者: K Krzysztof Kozlowski 提交者: Stephen Boyd

clk: at91: Constify irq_domain_ops

The irq_domain_ops are not modified by the driver and the irqdomain core
code accepts pointer to a const data.
Signed-off-by: NKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Acked-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
上级 7cb81136
...@@ -153,7 +153,7 @@ static int pmc_irq_domain_xlate(struct irq_domain *d, ...@@ -153,7 +153,7 @@ static int pmc_irq_domain_xlate(struct irq_domain *d,
return 0; return 0;
} }
static struct irq_domain_ops pmc_irq_ops = { static const struct irq_domain_ops pmc_irq_ops = {
.map = pmc_irq_map, .map = pmc_irq_map,
.xlate = pmc_irq_domain_xlate, .xlate = pmc_irq_domain_xlate,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册