powerpc: 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: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
030bbdbf4c
commit
202648a607
@@ -120,7 +120,7 @@ static int mpc8xx_pic_host_xlate(struct irq_domain *h, struct device_node *ct,
|
||||
}
|
||||
|
||||
|
||||
static struct irq_domain_ops mpc8xx_pic_host_ops = {
|
||||
static const struct irq_domain_ops mpc8xx_pic_host_ops = {
|
||||
.map = mpc8xx_pic_host_map,
|
||||
.xlate = mpc8xx_pic_host_xlate,
|
||||
};
|
||||
|
Reference in New Issue
Block a user