]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm: tegra: retire platform dev spec of tegra_cec
authorXia Yang <xiay@nvidia.com>
Thu, 3 Jul 2014 19:05:00 +0000 (12:05 -0700)
committerMitch Luban <mluban@nvidia.com>
Tue, 15 Jul 2014 17:29:59 +0000 (10:29 -0700)
Bug 200013561

Change-Id: Ib1245d86ba66735aa5bc215d9404620b311ca347
Signed-off-by: Xia Yang <xiay@nvidia.com>
Reviewed-on: http://git-master/r/434437
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
arch/arm/mach-tegra/board-ardbeg.c
arch/arm/mach-tegra/board-loki.c
arch/arm/mach-tegra/devices.c
arch/arm/mach-tegra/devices.h

index e76500a3787979f84d0f6be6871f55b9178ea106..f85a8dc5acfb3b9f2fe49bf39acae3a5d570943b 100644 (file)
@@ -494,9 +494,6 @@ static struct platform_device *ardbeg_devices[] __initdata = {
 #if defined(CONFIG_TEGRA_PTM)
        &tegra_ptm_device,
 #endif
-#ifdef CONFIG_TEGRA_CEC_SUPPORT
-       &tegra_cec_device,
-#endif
 };
 
 static struct tegra_usb_platform_data tegra_udc_pdata = {
index a97da8b770cf99c6c64fe8c9b83132e17da9c15d..e71ac8a7546b9d6d62b5175202420fa5710e5b93 100644 (file)
@@ -298,9 +298,6 @@ static struct platform_device *loki_devices[] __initdata = {
        &tegra_hda_device,
        &tegra_offload_device,
        &tegra30_avp_audio_device,
-#if defined(CONFIG_TEGRA_CEC_SUPPORT)
-       &tegra_cec_device,
-#endif
 #if defined(CONFIG_CRYPTO_DEV_TEGRA_AES)
        &tegra_aes_device,
 #endif
index a0f5f3eeb5649e8796e38f8349c754912cd551b3..bfb1e334f99b8c07be5f24f771b08a116bc1554a 100644 (file)
@@ -2411,28 +2411,6 @@ struct platform_device tegra_disp2_device = {
 };
 #endif
 
-#ifndef CONFIG_ARCH_TEGRA_2x_SOC
-static struct resource tegra_cec_resources[] = {
-       [0] = {
-               .start = TEGRA_CEC_BASE,
-               .end = TEGRA_CEC_BASE + TEGRA_CEC_SIZE - 1,
-               .flags = IORESOURCE_MEM,
-       },
-       [1] = {
-               .start = INT_CEC,
-               .end = INT_CEC,
-               .flags = IORESOURCE_IRQ,
-       },
-};
-
-struct platform_device tegra_cec_device = {
-       .name = "tegra_cec",
-       .id   = -1,
-       .resource = tegra_cec_resources,
-       .num_resources = ARRAY_SIZE(tegra_cec_resources),
-};
-#endif
-
 #ifdef CONFIG_ARCH_TEGRA_HAS_CL_DVFS
 static struct resource cl_dvfs_resource[] = {
 #ifndef CONFIG_ARCH_TEGRA_13x_SOC
index ac0a769dc440329cb8ae64d7b1947c698d172991..f756fd4e2bbaf97e984e0a198febd563c298c6a0 100644 (file)
@@ -178,9 +178,6 @@ extern struct platform_device tegra_disp1_device;
 extern struct platform_device tegra_disp2_device;
 extern struct platform_device tegra_nvmap_device;
 extern struct platform_device tegra_xhci_device;
-#ifndef CONFIG_ARCH_TEGRA_2x_SOC
-extern struct platform_device tegra_cec_device;
-#endif
 #ifdef CONFIG_ARCH_TEGRA_HAS_CL_DVFS
 extern struct platform_device tegra_cl_dvfs_device;
 #endif