diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-04-27 14:52:38 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-05-02 03:25:09 +0200 |
commit | d6c27678676abd13f5457490a30995524e1046fb (patch) | |
tree | 6ce2158fbef05e2a38f3fea406a9d84e96265666 /drivers/clk/at91/pmc.c | |
parent | clk: Fix JSON output in debugfs (diff) | |
download | linux-d6c27678676abd13f5457490a30995524e1046fb.tar.xz linux-d6c27678676abd13f5457490a30995524e1046fb.zip |
clk: at91: Constify irq_domain_ops
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>
Diffstat (limited to 'drivers/clk/at91/pmc.c')
-rw-r--r-- | drivers/clk/at91/pmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c index 3f27d21fb729..39be2be82b0a 100644 --- a/drivers/clk/at91/pmc.c +++ b/drivers/clk/at91/pmc.c @@ -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, }; |