diff options
author | Venu Byravarasu <vbyravarasu@nvidia.com> | 2012-01-20 14:25:53 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2012-01-30 11:47:47 -0800 |
commit | fd258f5af846be6a3d92b3612b73cd2ab07d0043 (patch) | |
tree | 70f0aa2a622557c56c5692f6349e65fe02488287 /arch/arm | |
parent | c7269a17907eaef7e271085dc1fa204ace635228 (diff) |
arm: tegra: pci: fix section mismatch warnings.
Section mismatch warning messages were due to declaring tegra_pcie_hw using
__initdata & tegra_pcie_scan_bus using __init.
Hence removed them.
bug 929358
Reviewed-on: http://git-master/r/76495
Change-Id: I1894c1c360e0fc0f3da18bbe840e88afa4de6ffc
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77308
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-tegra/pcie.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/pcie.c b/arch/arm/mach-tegra/pcie.c index c665220f5516..780fe2a5ac70 100644 --- a/arch/arm/mach-tegra/pcie.c +++ b/arch/arm/mach-tegra/pcie.c @@ -587,7 +587,7 @@ static int tegra_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) return INT_PCIE_INTR; } -static struct pci_bus __init *tegra_pcie_scan_bus(int nr, +static struct pci_bus *tegra_pcie_scan_bus(int nr, struct pci_sys_data *sys) { struct tegra_pcie_port *pp; @@ -601,7 +601,7 @@ static struct pci_bus __init *tegra_pcie_scan_bus(int nr, return pci_scan_bus(sys->busnr, &tegra_pcie_ops, sys); } -static struct hw_pci tegra_pcie_hw __initdata = { +static struct hw_pci tegra_pcie_hw = { .nr_controllers = MAX_PCIE_SUPPORTED_PORTS, .setup = tegra_pcie_setup, .scan = tegra_pcie_scan_bus, |