diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-05-05 11:10:11 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-05-05 11:14:48 +0200 |
commit | eb18cf55c299d2ac5c8b5421c58b6c582a044475 (patch) | |
tree | aa83e35e19d88ceb1df740413209a449a1baac35 /arch/x86/kernel/apic/vector.c | |
parent | 9d4c0313f24a05e5252e7106636bf3c5b6318f5d (diff) | |
download | op-kernel-dev-eb18cf55c299d2ac5c8b5421c58b6c582a044475.zip op-kernel-dev-eb18cf55c299d2ac5c8b5421c58b6c582a044475.tar.gz |
x86: Constify irqdomain ops
Nothing changes those ops. Make the initializers readable while at it.
Reported-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/apic/vector.c')
-rw-r--r-- | arch/x86/kernel/apic/vector.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic/vector.c b/arch/x86/kernel/apic/vector.c index 1c7dd42..4264968 100644 --- a/arch/x86/kernel/apic/vector.c +++ b/arch/x86/kernel/apic/vector.c @@ -330,9 +330,9 @@ error: return err; } -static struct irq_domain_ops x86_vector_domain_ops = { - .alloc = x86_vector_alloc_irqs, - .free = x86_vector_free_irqs, +static const struct irq_domain_ops x86_vector_domain_ops = { + .alloc = x86_vector_alloc_irqs, + .free = x86_vector_free_irqs, }; int __init arch_probe_nr_irqs(void) |