summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/devices.c
diff options
context:
space:
mode:
authorYen Lin <yelin@nvidia.com>2011-02-07 20:00:31 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:42:23 -0800
commit0066a8c56be0fccbd957cedc4331139c41951d09 (patch)
tree9abf586996d97aace5c4144a3e32d275dc0270e4 /arch/arm/mach-tegra/devices.c
parent3a9b968191f5f1b67790b7d59e58f7682e477dd1 (diff)
arm: tegra: Update AHCI/SATA driver support
- Added SATA pad pll and plle initialization - Removed usage of driver's platform data - Implemented placeholder for SATA power-gating/ungating Original-Change-Id: I6cd7f5fca95320aa5f429edbd4de5e28fd4c0ac7 Reviewed-on: http://git-master/r/18650 Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Tested-by: Yu-Huan Hsu <yhsu@nvidia.com> Original-Change-Id: I5cea5d8ad38b85a01287e26ded759bb8c3988530 Rebase-Id: Rc29cfb95ee43f09c3ae121356271a2d327f7d5b8
Diffstat (limited to 'arch/arm/mach-tegra/devices.c')
-rw-r--r--arch/arm/mach-tegra/devices.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/devices.c b/arch/arm/mach-tegra/devices.c
index 0c1ee86a141e..8a02244e3a0d 100644
--- a/arch/arm/mach-tegra/devices.c
+++ b/arch/arm/mach-tegra/devices.c
@@ -28,7 +28,6 @@
#include <mach/irqs.h>
#include <mach/iomap.h>
#include <mach/dma.h>
-#include <mach/sata.h>
#include <mach/usb_phy.h>
#include "gpio-names.h"
@@ -868,8 +867,6 @@ struct platform_device tegra_otg_device = {
#ifdef CONFIG_SATA_AHCI_TEGRA
static u64 tegra_sata_dma_mask = DMA_BIT_MASK(32);
-static struct tegra_sata_platform_data tegra_sata_pdata;
-
static struct resource tegra_sata_resources[] = {
[0] = {
.start = TEGRA_SATA_BAR5_BASE,
@@ -892,7 +889,7 @@ struct platform_device tegra_sata_device = {
.name = "tegra-sata",
.id = 0,
.dev = {
- .platform_data = &tegra_sata_pdata,
+ .platform_data = 0,
.coherent_dma_mask = DMA_BIT_MASK(32),
.dma_mask = &tegra_sata_dma_mask,
},