ARM: tegra: trimslice: initialize PCI-e only when running on TrimSlice
authorMike Rapoport <mike@compulab.co.il>
Wed, 2 Mar 2011 12:34:06 +0000 (14:34 +0200)
committerColin Cross <ccross@android.com>
Thu, 3 Mar 2011 21:57:31 +0000 (13:57 -0800)
commitd5fdafd38ca0c28c4648909ce0afd0a5420309ca
tree88289a5e28ae24381af7fd1c69712ae8bca7f165
parentb96cc7fe190b9356633c70afae61ee0637b000ee
ARM: tegra: trimslice: initialize PCI-e only when running on TrimSlice

Currently tegra_pcie_init is effectively called as subsys_initcall. With
multiplatform kernel this may cause hangs on boards that don't intend to
support Tegra2 PCI-e. Ensure that TrimSlice board code initializes PCI-e
only when actually running on the TrimSlice.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/board-trimslice.c