diff options
author | Dan Willemsen <dwillemsen@nvidia.com> | 2012-09-07 23:07:53 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 12:09:20 -0700 |
commit | 9f1ab7af88fe9858c3c90eef44b0cc62b98c264e (patch) | |
tree | bfd65d9b25ef6054d37d073bc9f545bdda17ab79 /arch/arm/mach-tegra/powerdetect.c | |
parent | 794fa47369dbc7670cef5dc6c3d9057ccc0797a6 (diff) |
unknown changes from android-tegra-nv-3.4
Rebase-Id: R940fad74c7e91ef3d1d3d589a48064ccb7335541
Diffstat (limited to 'arch/arm/mach-tegra/powerdetect.c')
-rw-r--r-- | arch/arm/mach-tegra/powerdetect.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/powerdetect.c b/arch/arm/mach-tegra/powerdetect.c index a726da140886..27c8d92f9089 100644 --- a/arch/arm/mach-tegra/powerdetect.c +++ b/arch/arm/mach-tegra/powerdetect.c @@ -24,10 +24,11 @@ #include <linux/err.h> #include <linux/notifier.h> #include <linux/regulator/consumer.h> -#include <linux/moduleparam.h> +#include <linux/module.h> #include <mach/iomap.h> +#include "board.h" #include "fuse.h" #define PMC_PWR_IO_DISABLE 0x44 @@ -299,7 +300,7 @@ int __init tegra_pwr_detect_cell_init(void) unsigned long flags; bool rails_found = true; - i = tegra_package_id; + i = tegra_package_id(); if ((i != -1) && (i & (~0x1F))) { pr_err("tegra: not supported package id %d - io power detection" " is left always on\n", i); |