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

David Miller davem at davemloft.net
Sat Jun 11 19:01:19 EDT 2011


From: Ralf Baechle <ralf at linux-mips.org>
Date: Fri, 10 Jun 2011 15:30:21 +0100

> 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: David S. Miller <davem at davemloft.net>



More information about the linux-arm-kernel mailing list