提交 9b589a83 编写于 作者: K Krzysztof Kozlowski 提交者: Shawn Guo

ARM: imx: 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>
Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
上级 7a5568ce
...@@ -227,7 +227,7 @@ static int imx_gpc_domain_alloc(struct irq_domain *domain, ...@@ -227,7 +227,7 @@ static int imx_gpc_domain_alloc(struct irq_domain *domain,
return irq_domain_alloc_irqs_parent(domain, irq, nr_irqs, &parent_args); return irq_domain_alloc_irqs_parent(domain, irq, nr_irqs, &parent_args);
} }
static struct irq_domain_ops imx_gpc_domain_ops = { static const struct irq_domain_ops imx_gpc_domain_ops = {
.xlate = imx_gpc_domain_xlate, .xlate = imx_gpc_domain_xlate,
.alloc = imx_gpc_domain_alloc, .alloc = imx_gpc_domain_alloc,
.free = irq_domain_free_irqs_common, .free = irq_domain_free_irqs_common,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册