linux/arch/arm/mach-cns3xxx
Anton Vorontsov 7caaf7efb9 ARM: cns3xxx: Fix newly introduced warnings in the PCIe code
commit d5341942d7 ("PCI: Make the struct
pci_dev * argument of pci_fixup_irqs const") did not change argument
of pdev_to_cnspci(), and thus introduced the following warnings:

  CHECK   arch/arm/mach-cns3xxx/pcie.c
pcie.c:177:60: warning: incorrect type in argument 1 (different modifiers)
pcie.c:177:60:    expected struct pci_dev *dev
pcie.c:177:60:    got struct pci_dev const *dev
  CC      arch/arm/mach-cns3xxx/pcie.o
pcie.c: In function 'cns3xxx_pcie_map_irq':
pcie.c:177: warning: passing argument 1 of 'pdev_to_cnspci' discards qualifiers from pointer target type
pcie.c:52: note: expected 'struct pci_dev *' but argument is of type 'const struct pci_dev *'

This patch fixes the issue.

Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
2011-09-09 23:33:34 +04:00
..
include/mach ARM: cns3xxx: Fix compile error caused by hardware.h removed 2011-09-09 23:03:32 +04:00
cns3420vb.c Merge branch 'next/devel' of ssh://master.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-26 17:41:04 -07:00
core.c ARM: cns3xxx: Add support for L2 Cache Controller 2011-07-07 18:48:38 +04:00
core.h ARM: cns3xxx: Add support for L2 Cache Controller 2011-07-07 18:48:38 +04:00
devices.c ARM: cns3xxx: Add new and export the old power management functions 2010-11-26 21:10:50 +03:00
devices.h ARM: cns3xxx: Add support for AHCI controllers 2010-06-08 17:37:09 +04:00
Kconfig ARM: 6520/1: Kconfig: add new symbol MIGHT_HAVE_PCI 2010-12-05 08:39:30 +00:00
Makefile ARM: cns3xxx: Add support for SDHCI controllers 2010-06-08 17:37:09 +04:00
Makefile.boot ARM: cns3xxx: Add basic support for Cavium Networks CNS3xxx processors 2010-05-02 21:55:46 +04:00
pcie.c ARM: cns3xxx: Fix newly introduced warnings in the PCIe code 2011-09-09 23:33:34 +04:00
pm.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00