summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-tegra/board-cardhu-powermon.c4
-rw-r--r--arch/arm/mach-tegra/board-cardhu-sensors.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-powermon.c b/arch/arm/mach-tegra/board-cardhu-powermon.c
index 823cddbabeb3..bffd51b1ea84 100644
--- a/arch/arm/mach-tegra/board-cardhu-powermon.c
+++ b/arch/arm/mach-tegra/board-cardhu-powermon.c
@@ -1,7 +1,7 @@
/*
* arch/arm/mach-tegra/board-cardhu-powermon.c
*
- * Copyright (c) 2011, NVIDIA, All Rights Reserved.
+ * Copyright (c) 2011-2013, NVIDIA, All Rights Reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -249,7 +249,7 @@ int __init cardhu_pmon_init(void)
&power_mon_info[VDD_CORE_IN];
}
- if (bi.board_id != BOARD_PM269) {
+ if (bi.board_id != BOARD_PM269 && bi.board_id != BOARD_PM315) {
i2c_register_board_info(0, cardhu_i2c0_ina219_board_info,
ARRAY_SIZE(cardhu_i2c0_ina219_board_info));
}
diff --git a/arch/arm/mach-tegra/board-cardhu-sensors.c b/arch/arm/mach-tegra/board-cardhu-sensors.c
index 59e1fa392801..d9c569bf3104 100644
--- a/arch/arm/mach-tegra/board-cardhu-sensors.c
+++ b/arch/arm/mach-tegra/board-cardhu-sensors.c
@@ -1153,10 +1153,10 @@ int __init cardhu_sensors_init(void)
if (board_info.board_id != BOARD_PM315) {
i2c_register_board_info(2, cardhu_i2c3_board_info,
ARRAY_SIZE(cardhu_i2c3_board_info));
- }
- i2c_register_board_info(2, cardhu_i2c_board_info_tps61050,
- ARRAY_SIZE(cardhu_i2c_board_info_tps61050));
+ i2c_register_board_info(2, cardhu_i2c_board_info_tps61050,
+ ARRAY_SIZE(cardhu_i2c_board_info_tps61050));
+ }
#ifdef CONFIG_VIDEO_OV14810
/* This is disabled by default; To enable this change Kconfig;