aboutsummaryrefslogtreecommitdiff
path: root/include/power/pmic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/power/pmic.h')
-rw-r--r--include/power/pmic.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/power/pmic.h b/include/power/pmic.h
index 2ca9365..be9de6b 100644
--- a/include/power/pmic.h
+++ b/include/power/pmic.h
@@ -297,6 +297,15 @@ int pmic_reg_write(struct udevice *dev, uint reg, uint value);
*/
int pmic_clrsetbits(struct udevice *dev, uint reg, uint clr, uint set);
+/*
+ * This structure holds the private data for PMIC uclass
+ * For now we store information about the number of bytes
+ * being sent at once to the device.
+ */
+struct uc_pmic_priv {
+ uint trans_len;
+};
+
#endif /* CONFIG_DM_PMIC */
#ifdef CONFIG_POWER