arm: tegra: Add dummy platform driver for BT and BB
Sumit Bhattacharya [Tue, 1 Nov 2011 13:32:15 +0000 (18:32 +0530)]
Use dummy spdif-dit platform driver for bluetooth and baseband
platform driver.

Bug 872652
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>

Change-Id: I111e1f16d545d19b37c2a49c212160a210eea9f4
Reviewed-on: http://git-master/r/61503
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R058f68adf8951ba33dccdcaf6760875650de761e

arch/arm/mach-tegra/devices.c
arch/arm/mach-tegra/devices.h

index 5b869bd..824df18 100644 (file)
@@ -1183,7 +1183,17 @@ struct platform_device tegra_dam_device2 = {
 
 struct platform_device spdif_dit_device = {
        .name = "spdif-dit",
-       .id = -1,
+       .id = 0,
+};
+
+struct platform_device bluetooth_dit_device = {
+       .name = "spdif-dit",
+       .id = 1,
+};
+
+struct platform_device baseband_dit_device = {
+       .name = "spdif-dit",
+       .id = 2,
 };
 
 #if defined(CONFIG_SND_HDA_TEGRA)
index 6d2353a..268a0ec 100644 (file)
@@ -74,6 +74,8 @@ extern struct platform_device tegra_i2s_device2;
 extern struct platform_device tegra_spdif_device;
 extern struct platform_device tegra_das_device;
 extern struct platform_device spdif_dit_device;
+extern struct platform_device bluetooth_dit_device;
+extern struct platform_device baseband_dit_device;
 extern struct platform_device tegra_w1_device;
 extern struct platform_device tegra_udc_device;
 extern struct platform_device tegra_ehci1_device;