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/platform/uv | |
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/platform/uv')
-rw-r--r-- | arch/x86/platform/uv/uv_irq.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/platform/uv/uv_irq.c b/arch/x86/platform/uv/uv_irq.c index cdf86cd3..8570abe 100644 --- a/arch/x86/platform/uv/uv_irq.c +++ b/arch/x86/platform/uv/uv_irq.c @@ -149,11 +149,11 @@ static void uv_domain_deactivate(struct irq_domain *domain, uv_program_mmr(irqd_cfg(irq_data), irq_data->chip_data); } -static struct irq_domain_ops uv_domain_ops = { - .alloc = uv_domain_alloc, - .free = uv_domain_free, - .activate = uv_domain_activate, - .deactivate = uv_domain_deactivate, +static const struct irq_domain_ops uv_domain_ops = { + .alloc = uv_domain_alloc, + .free = uv_domain_free, + .activate = uv_domain_activate, + .deactivate = uv_domain_deactivate, }; static struct irq_domain *uv_get_irq_domain(void) |