Re: [PATCH] PCI: Make the struct pci_dev * argument ofpci_fixup_irqs const.

From: David Miller
Date: Sat Jun 11 2011 - 19:05:28 EST


From: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxx>

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html