]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: OMAP2+: Constify irq_domain_ops
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Mon, 27 Apr 2015 12:49:44 +0000 (21:49 +0900)
committerTony Lindgren <tony@atomide.com>
Wed, 20 May 2015 17:43:37 +0000 (10:43 -0700)
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: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap-wakeupgen.c

index 3b56722dfd8a975c77da8e1599207c8b447e290c..8e52621b5a6bf3ab42ddef8a5c3db79c3391fcf1 100644 (file)
@@ -444,7 +444,7 @@ static int wakeupgen_domain_alloc(struct irq_domain *domain,
        return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &parent_args);
 }
 
-static struct irq_domain_ops wakeupgen_domain_ops = {
+static const struct irq_domain_ops wakeupgen_domain_ops = {
        .xlate  = wakeupgen_domain_xlate,
        .alloc  = wakeupgen_domain_alloc,
        .free   = irq_domain_free_irqs_common,