commit | 9cc3f4ac8746ec50b1a405b8d802413155e88a65 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Mon Mar 17 00:21:51 2014 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Mar 17 00:21:51 2014 -0700 |
tree | 5f7a375e86b92e1912acdb38e48298e16ebf3694 | |
parent | 0402ab5e0b05c48f365d3daded7a9afb31a2ddd5 [diff] | |
parent | d3e2916eac7d50d7aa83ee9bcc087b02837f9411 [diff] |
Merge "pm8x41: Choose the right SPMI register offsets for the target"
diff --git a/dev/pmic/pm8x41/pm8x41.c b/dev/pmic/pm8x41/pm8x41.c index 1e9f16c..8268ed2 100644 --- a/dev/pmic/pm8x41/pm8x41.c +++ b/dev/pmic/pm8x41/pm8x41.c
@@ -29,7 +29,11 @@ #include <bits.h> #include <debug.h> #include <reg.h> +#if SPMI_CORE_V2 +#include <spmi_v2.h> +#else #include <spmi.h> +#endif #include <string.h> #include <pm8x41_hw.h> #include <pm8x41.h>