clk: at91: Constify irq_domain_ops
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Mon, 27 Apr 2015 12:52:38 +0000 (21:52 +0900)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 2 May 2015 01:25:09 +0000 (18:25 -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>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/at91/pmc.c

index 3f27d21fb7297e70494bf35743f027f8c8005d73..39be2be82b0a04b730258b4a7154aa5be103cc73 100644 (file)
@@ -153,7 +153,7 @@ static int pmc_irq_domain_xlate(struct irq_domain *d,
        return 0;
 }
 
-static struct irq_domain_ops pmc_irq_ops = {
+static const struct irq_domain_ops pmc_irq_ops = {
        .map    = pmc_irq_map,
        .xlate  = pmc_irq_domain_xlate,
 };
This page took 0.032663 seconds and 5 git commands to generate.