Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31e66068 authored by Olof Johansson's avatar Olof Johansson
Browse files

ARM: tegra: pcie: 0 -> NULL changes



Fixes:

arch/arm/mach-tegra/pcie.c:465:10: warning: Using plain integer as NULL pointer

Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 3ead5137
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -462,7 +462,7 @@ static struct pci_bus __init *tegra_pcie_scan_bus(int nr,
	struct tegra_pcie_port *pp;

	if (nr >= tegra_pcie.num_ports)
		return 0;
		return NULL;

	pp = tegra_pcie.port + nr;
	pp->root_bus_nr = sys->busnr;