aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/tps65218.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2016-08-10 17:53:54 +0530
committerMark Brown <broonie@kernel.org>2016-08-10 18:21:55 +0100
commitf11fa1796a4b4f8c6d4ced37e8824276ec57057d (patch)
tree9a16e75129af2075584a071818375c6fe90574c8 /include/linux/mfd/tps65218.h
parentLinux 4.8-rc1 (diff)
downloadlinux-dev-f11fa1796a4b4f8c6d4ced37e8824276ec57057d.tar.xz
linux-dev-f11fa1796a4b4f8c6d4ced37e8824276ec57057d.zip
mfd: tps65218: add version check to the PMIC probe
Version information will be needed to handle some error cases under the regulator driver, so store the information once during MFD probe. Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/mfd/tps65218.h')
-rw-r--r--include/linux/mfd/tps65218.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/tps65218.h b/include/linux/mfd/tps65218.h
index 7fdf5326f34e..85e464e32c43 100644
--- a/include/linux/mfd/tps65218.h
+++ b/include/linux/mfd/tps65218.h
@@ -267,6 +267,7 @@ struct tps_info {
struct tps65218 {
struct device *dev;
unsigned int id;
+ u8 rev;
struct mutex tps_lock; /* lock guarding the data structure */
/* IRQ Data */