summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/xilinx_intc.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-04-27 14:48:47 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2015-05-11 08:58:20 +0200
commit202648a6070b69d60c6d0926ff06c8863e231468 (patch)
treec89df956f7e5f875d605b47e15df3dc0b30d9767 /arch/powerpc/sysdev/xilinx_intc.c
parentLinux 4.1-rc3 (diff)
downloadlinux-202648a6070b69d60c6d0926ff06c8863e231468.tar.xz
linux-202648a6070b69d60c6d0926ff06c8863e231468.zip
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>
Diffstat (limited to 'arch/powerpc/sysdev/xilinx_intc.c')
-rw-r--r--arch/powerpc/sysdev/xilinx_intc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/xilinx_intc.c b/arch/powerpc/sysdev/xilinx_intc.c
index 56f0524e47a6..43b8b275bc5c 100644
--- a/arch/powerpc/sysdev/xilinx_intc.c
+++ b/arch/powerpc/sysdev/xilinx_intc.c
@@ -179,7 +179,7 @@ static int xilinx_intc_map(struct irq_domain *h, unsigned int virq,
return 0;
}
-static struct irq_domain_ops xilinx_intc_ops = {
+static const struct irq_domain_ops xilinx_intc_ops = {
.map = xilinx_intc_map,
.xlate = xilinx_intc_xlate,
};