aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/cpm2_pic.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2012-01-26 14:24:34 -0500
committerGrant Likely <grant.likely@secretlab.ca>2012-02-16 08:11:24 -0500
commit9f70b8eb3cd37c6ef3371f972db799250e3eb86e (patch)
treeb870a1e7106518df1cb5282e30227aa6e7f8814f /arch/powerpc/sysdev/cpm2_pic.c
parentc1e572e6506082ed120a13454b2cc2f525ee7aa6 (diff)
irq_domain/powerpc: constify irq_domain_ops
Make all the irq_domain_ops structures in powerpc 'static const' Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Milton Miller <miltonm@bga.com> Tested-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/powerpc/sysdev/cpm2_pic.c')
-rw-r--r--arch/powerpc/sysdev/cpm2_pic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/cpm2_pic.c b/arch/powerpc/sysdev/cpm2_pic.c
index b3643322c528..8c9fc9c29095 100644
--- a/arch/powerpc/sysdev/cpm2_pic.c
+++ b/arch/powerpc/sysdev/cpm2_pic.c
@@ -236,7 +236,7 @@ static int cpm2_pic_host_xlate(struct irq_domain *h, struct device_node *ct,
236 return 0; 236 return 0;
237} 237}
238 238
239static struct irq_domain_ops cpm2_pic_host_ops = { 239static const struct irq_domain_ops cpm2_pic_host_ops = {
240 .map = cpm2_pic_host_map, 240 .map = cpm2_pic_host_map,
241 .xlate = cpm2_pic_host_xlate, 241 .xlate = cpm2_pic_host_xlate,
242}; 242};