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)
commita18dc81bf58258ac0920bec26b91656cb0140d2a
tree7e11dd40b11ffa281c3ecb902994b94250fbf916
parent16b2e6e2f31dda41f114aa0acade04f7e10f67c9
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