summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-dalmore-sensors.c
diff options
context:
space:
mode:
authorHyungwoo Yang <hyungwooy@nvidia.com>2013-01-25 15:17:00 -0800
committerRiham Haidar <rhaidar@nvidia.com>2013-01-28 17:31:34 -0800
commitbb4e4446156afe6fab4f24b0a5cc7b555c436103 (patch)
treee09bf05337ef6219cf51fa04a0c50b53614d0be2 /arch/arm/mach-tegra/board-dalmore-sensors.c
parentd66e95baf6b0eaf94c635992b1ba93d4184cc08b (diff)
ARM: tegra: dalmore: Fix compilation error with Tskin feature.
Refactoring balanced throttling stucture missed Tskin part. Due to that, there's compilation error with Tskin feature. This change fix the compilation error. Change-Id: I5c00e42e16a47c651070c55528ae1e711a17fe2e Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com> Reviewed-on: http://git-master/r/194280 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-dalmore-sensors.c')
-rw-r--r--arch/arm/mach-tegra/board-dalmore-sensors.c46
1 files changed, 24 insertions, 22 deletions
diff --git a/arch/arm/mach-tegra/board-dalmore-sensors.c b/arch/arm/mach-tegra/board-dalmore-sensors.c
index 80745c58f6c4..5edab3fe8db3 100644
--- a/arch/arm/mach-tegra/board-dalmore-sensors.c
+++ b/arch/arm/mach-tegra/board-dalmore-sensors.c
@@ -660,29 +660,31 @@ static struct therm_est_data skin_data = {
.passive_delay = 5000,
};
+static struct throttle_table skin_throttle_table[] = {
+ { 0, 1000 },
+ { 51000, 1000 },
+ { 102000, 1000 },
+ { 204000, 1000 },
+ { 252000, 1000 },
+ { 288000, 1000 },
+ { 372000, 1000 },
+ { 468000, 1000 },
+ { 510000, 1000 },
+ { 612000, 1000 },
+ { 714000, 1050 },
+ { 816000, 1050 },
+ { 918000, 1050 },
+ {1020000, 1100 },
+ {1122000, 1100 },
+ {1224000, 1100 },
+ {1326000, 1100 },
+ {1428000, 1100 },
+ {1530000, 1100 },
+};
+
static struct balanced_throttle skin_throttle = {
- .throt_tab_size = 19,
- .throt_tab = {
- { 0, 1000 },
- { 51000, 1000 },
- { 102000, 1000 },
- { 204000, 1000 },
- { 252000, 1000 },
- { 288000, 1000 },
- { 372000, 1000 },
- { 468000, 1000 },
- { 510000, 1000 },
- { 612000, 1000 },
- { 714000, 1050 },
- { 816000, 1050 },
- { 918000, 1050 },
- {1020000, 1100 },
- {1122000, 1100 },
- {1224000, 1100 },
- {1326000, 1100 },
- {1428000, 1100 },
- {1530000, 1100 },
- },
+ .throt_tab_size = ARRAY_SIZE(skin_throttle_table),
+ .throt_tab = skin_throttle_table,
};
static int __init dalmore_skin_init(void)