]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-orion5x/pci.c
Merge branch 'testing' of github.com:ceph/ceph-client into v3.8-rc5-testing
[karo-tx-linux.git] / arch / arm / mach-orion5x / pci.c
index 6921d49b988d3152f36295815611ab711cdc57a3..d9c7c3bf0d9cca840a618590c16145ef621c399d 100644 (file)
@@ -38,7 +38,7 @@
 /*****************************************************************************
  * PCIe controller
  ****************************************************************************/
-#define PCIE_BASE      ((void __iomem *)ORION5X_PCIE_VIRT_BASE)
+#define PCIE_BASE      (ORION5X_PCIE_VIRT_BASE)
 
 void __init orion5x_pcie_id(u32 *dev, u32 *rev)
 {
@@ -111,7 +111,7 @@ static int pcie_rd_conf_wa(struct pci_bus *bus, u32 devfn,
                return PCIBIOS_DEVICE_NOT_FOUND;
        }
 
-       ret = orion_pcie_rd_conf_wa((void __iomem *)ORION5X_PCIE_WA_VIRT_BASE,
+       ret = orion_pcie_rd_conf_wa(ORION5X_PCIE_WA_VIRT_BASE,
                                    bus, devfn, where, size, val);
 
        return ret;
@@ -188,7 +188,7 @@ static int __init pcie_setup(struct pci_sys_data *sys)
 /*****************************************************************************
  * PCI controller
  ****************************************************************************/
-#define ORION5X_PCI_REG(x)     (ORION5X_PCI_VIRT_BASE | (x))
+#define ORION5X_PCI_REG(x)     (ORION5X_PCI_VIRT_BASE + (x))
 #define PCI_MODE               ORION5X_PCI_REG(0xd00)
 #define PCI_CMD                        ORION5X_PCI_REG(0xc00)
 #define PCI_P2P_CONF           ORION5X_PCI_REG(0x1d14)
@@ -506,7 +506,7 @@ static int __init pci_setup(struct pci_sys_data *sys)
 /*****************************************************************************
  * General PCIe + PCI
  ****************************************************************************/
-static void __devinit rc_pci_fixup(struct pci_dev *dev)
+static void rc_pci_fixup(struct pci_dev *dev)
 {
        /*
         * Prevent enumeration of root complex.