summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac/pic.c
diff options
context:
space:
mode:
authorGrant Likely2012-01-26 20:24:34 +0100
committerGrant Likely2012-02-16 14:11:24 +0100
commit9f70b8eb3cd37c6ef3371f972db799250e3eb86e (patch)
treeb870a1e7106518df1cb5282e30227aa6e7f8814f /arch/powerpc/platforms/powermac/pic.c
parentirq_domain/c6x: Use library of xlate functions (diff)
downloadkernel-qcow2-linux-9f70b8eb3cd37c6ef3371f972db799250e3eb86e.tar.gz
kernel-qcow2-linux-9f70b8eb3cd37c6ef3371f972db799250e3eb86e.tar.xz
kernel-qcow2-linux-9f70b8eb3cd37c6ef3371f972db799250e3eb86e.zip
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/platforms/powermac/pic.c')
-rw-r--r--arch/powerpc/platforms/powermac/pic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powermac/pic.c b/arch/powerpc/platforms/powermac/pic.c
index 646fdf3b9c0c..46a5f32e958b 100644
--- a/arch/powerpc/platforms/powermac/pic.c
+++ b/arch/powerpc/platforms/powermac/pic.c
@@ -299,7 +299,7 @@ static int pmac_pic_host_xlate(struct irq_domain *h, struct device_node *ct,
return 0;
}
-static struct irq_domain_ops pmac_pic_host_ops = {
+static const struct irq_domain_ops pmac_pic_host_ops = {
.match = pmac_pic_host_match,
.map = pmac_pic_host_map,
.xlate = pmac_pic_host_xlate,