summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board.h
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-09-04 17:10:13 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:20 -0800
commit8644fc08c6f1a6557e549f98513af2364691d40c (patch)
tree9c530e1e64e3d5aafa96795bd045aa7870f4608f /arch/arm/mach-tegra/board.h
parente86a8bc2593f7a97a3c1f60f594449cef349b132 (diff)
arm: tegra: Add handle for kernel option power_supply
Adding the handler function for the kernel command line option "power_supply". Reviewed-on: http://git-master/r/50674 (cherry picked from commit 8d9e6bbe59ab68f44a4713f5d1bcc7877baf8180) Change-Id: I07796b6ee5893d73ac7557e81aac5d26b299c491 Reviewed-on: http://git-master/r/57262 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rd64bf314bcdfe3f7bdbcdee946ed261bfce5938f
Diffstat (limited to 'arch/arm/mach-tegra/board.h')
-rw-r--r--arch/arm/mach-tegra/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board.h b/arch/arm/mach-tegra/board.h
index 7535c4eb3e9e..2cd2331f04a6 100644
--- a/arch/arm/mach-tegra/board.h
+++ b/arch/arm/mach-tegra/board.h
@@ -23,6 +23,7 @@
#define __MACH_TEGRA_BOARD_H
#include <linux/types.h>
+#include <linux/power_supply.h>
#define NVMAP_HEAP_CARVEOUT_IRAM_INIT \
{ .name = "iram", \
@@ -92,5 +93,6 @@ void tegra_get_pmu_board_info(struct board_info *bi);
int get_core_edp(void);
enum panel_type get_panel_type(void);
int tegra_get_modem_id(void);
+enum power_supply_type get_power_supply_type(void);
#endif