[PATCH] PCI: Make the struct pci_dev * argument of pci_fixup_irqs const.

Paul Mundt lethal at linux-sh.org
Mon Jun 13 00:24:10 EDT 2011


On Fri, Jun 10, 2011 at 03:30:21PM +0100, Ralf Baechle wrote:
> Aside of the usual motivation for constification,  this function has a
> history of being abused a hook for interrupt and other fixups so I turned
> this function const ages ago in the MIPS code but it should be done
> treewide.
> 
> Due to function pointer passing in varous places a few other functions
> had to be constified as well.
> 
> Signed-off-by: Ralf Baechle <ralf at linux-mips.org>

Acked-by: Paul Mundt <lethal at linux-sh.org>



More information about the linux-arm-kernel mailing list