]> git.baikalelectronics.ru Git - kernel.git/commit
irq_domain: constify irq_domain_ops
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 26 Jan 2012 19:12:14 +0000 (12:12 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 16 Feb 2012 13:11:24 +0000 (06:11 -0700)
commit4b190f6954834548086ccb0a90fad4d6a68906ad
tree7e11dd40b11ffa281c3ecb902994b94250fbf916
parent292700ef97ad8778a118ae2ea15186771d285444
irq_domain: constify irq_domain_ops

Make irq_domain_ops pointer a constant to make it safer for multiple
instances to share the same ops pointer and change the irq_domain code
so that it does not modify the ops.

v4: Fix mismatched type reference in powerpc code

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Milton Miller <miltonm@bga.com>
Tested-by: Olof Johansson <olof@lixom.net>
arch/powerpc/sysdev/mpic_msi.c
include/linux/irqdomain.h
kernel/irq/irqdomain.c