diff options
| author | Krzysztof Kozlowski <[email protected]> | 2015-04-27 12:54:24 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2015-05-05 08:45:58 +0000 |
| commit | 9600973656c697d742e31d202e6212216ea45a3e (patch) | |
| tree | 7681f12541b0910481a34a2af9479c87206cabf2 /drivers/irqchip/irq-versatile-fpga.c | |
| parent | genirq: MSI: Constify irq_domain_ops (diff) | |
| download | kernel-9600973656c697d742e31d202e6212216ea45a3e.tar.gz kernel-9600973656c697d742e31d202e6212216ea45a3e.zip | |
irqchip: 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 <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Kukjin Kim <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/irqchip/irq-versatile-fpga.c')
| -rw-r--r-- | drivers/irqchip/irq-versatile-fpga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-versatile-fpga.c b/drivers/irqchip/irq-versatile-fpga.c index 1ab451729a5c..888111b76ea0 100644 --- a/drivers/irqchip/irq-versatile-fpga.c +++ b/drivers/irqchip/irq-versatile-fpga.c @@ -132,7 +132,7 @@ static int fpga_irqdomain_map(struct irq_domain *d, unsigned int irq, return 0; } -static struct irq_domain_ops fpga_irqdomain_ops = { +static const struct irq_domain_ops fpga_irqdomain_ops = { .map = fpga_irqdomain_map, .xlate = irq_domain_xlate_onetwocell, }; |
