summaryrefslogtreecommitdiffstats
path: root/arch/c6x
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2012-01-26 12:25:18 -0700
committerGrant Likely <grant.likely@secretlab.ca>2012-02-16 06:11:24 -0700
commit15a25980d450c81e514c2a8724b575461961a30d (patch)
tree03371d7008b6601ad9aa2578131c74621f617d90 /arch/c6x
parent0bd761e1b6d909d3fd08841be7d5035f9fde8a53 (diff)
downloadlinux-stable-15a25980d450c81e514c2a8724b575461961a30d.tar.gz
linux-stable-15a25980d450c81e514c2a8724b575461961a30d.tar.bz2
linux-stable-15a25980d450c81e514c2a8724b575461961a30d.zip
irq_domain/c6x: constify irq_domain structures
Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Cc: Mark Salter <msalter@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/c6x')
-rw-r--r--arch/c6x/kernel/irq.c2
-rw-r--r--arch/c6x/platforms/megamod-pic.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/c6x/kernel/irq.c b/arch/c6x/kernel/irq.c
index 3d5ac600a38b..c6b36e86a010 100644
--- a/arch/c6x/kernel/irq.c
+++ b/arch/c6x/kernel/irq.c
@@ -86,7 +86,7 @@ static int core_domain_map(struct irq_domain *h, unsigned int virq,
return 0;
}
-static struct irq_domain_ops core_domain_ops = {
+static const struct irq_domain_ops core_domain_ops = {
.map = core_domain_map,
};
diff --git a/arch/c6x/platforms/megamod-pic.c b/arch/c6x/platforms/megamod-pic.c
index 61f5863f1b1d..9f35fbf2df3e 100644
--- a/arch/c6x/platforms/megamod-pic.c
+++ b/arch/c6x/platforms/megamod-pic.c
@@ -148,7 +148,7 @@ static int megamod_xlate(struct irq_domain *h, struct device_node *ct,
return 0;
}
-static struct irq_domain_ops megamod_domain_ops = {
+static const struct irq_domain_ops megamod_domain_ops = {
.map = megamod_map,
.xlate = megamod_xlate,
};