summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/devices.c
diff options
context:
space:
mode:
authorJay Agarwal <jagarwal@nvidia.com>2011-12-05 14:25:38 +0530
committerVarun Wadekar <vwadekar@nvidia.com>2011-12-15 12:05:31 +0530
commiteba3b9a73807a14a11983d931883022834e7349e (patch)
tree1567f12ec0a5042bc826e293876855f70992d6c2 /arch/arm/mach-tegra/devices.c
parenta4f80ed45571d6d37589dcca1e2cadfb8f46df6e (diff)
arm: tegra: cardhu: pcie support for cardhu bsp
Enabling PCIE support in cardhu board. Fixes bug: 637871 Reviewed-on: http://git-master/r/34474 (cherry picked from commit bde3e58d998b6e76934152219b8803327cea2fad) Change-Id: I18c548b458ad3d17ec07d2ec5b16fd83897b44b1 Signed-off-by: Krishna Kishore <kthota@nvidia.com> Reviewed-on: http://git-master/r/62072 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/devices.c')
-rw-r--r--arch/arm/mach-tegra/devices.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/devices.c b/arch/arm/mach-tegra/devices.c
index c38120d119f4..c301654426b5 100644
--- a/arch/arm/mach-tegra/devices.c
+++ b/arch/arm/mach-tegra/devices.c
@@ -474,6 +474,16 @@ static struct resource sdhci_resource4[] = {
},
};
+struct platform_device tegra_pci_device = {
+ .name = "tegra-pcie",
+ .id = 0,
+ .resource = 0,
+ .num_resources = 0,
+ .dev = {
+ .platform_data = 0,
+ },
+};
+
/* board files should fill in platform_data register the devices themselvs.
* See board-harmony.c for an example
*/