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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ralf Baechle <ralf@xxxxxxxxxxxxxx> writes:

> 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.

>  arch/arm/mach-ixp4xx/avila-pci.c               |    2 +-
>  arch/arm/mach-ixp4xx/coyote-pci.c              |    2 +-
>  arch/arm/mach-ixp4xx/dsmg600-pci.c             |    2 +-
>  arch/arm/mach-ixp4xx/fsg-pci.c                 |    2 +-
>  arch/arm/mach-ixp4xx/gateway7001-pci.c         |    3 ++-
>  arch/arm/mach-ixp4xx/goramo_mlr.c              |    2 +-
>  arch/arm/mach-ixp4xx/gtwx5715-pci.c            |    2 +-
>  arch/arm/mach-ixp4xx/ixdp425-pci.c             |    2 +-
>  arch/arm/mach-ixp4xx/ixdpg425-pci.c            |    2 +-
>  arch/arm/mach-ixp4xx/nas100d-pci.c             |    2 +-
>  arch/arm/mach-ixp4xx/nslu2-pci.c               |    2 +-
>  arch/arm/mach-ixp4xx/vulcan-pci.c              |    2 +-
>  arch/arm/mach-ixp4xx/wg302v2-pci.c             |    2 +-

The IXP4xx part looks good to me.

Acked-by: Krzysztof Hałasa <khc@xxxxxxxxx>
-- 
Krzysztof Halasa



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux