summaryrefslogtreecommitdiff
path: root/drivers/power/pmic/i2c_pmic_emul.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/pmic/i2c_pmic_emul.c')
-rw-r--r--drivers/power/pmic/i2c_pmic_emul.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/pmic/i2c_pmic_emul.c b/drivers/power/pmic/i2c_pmic_emul.c
index b58c8302cf..86d7b89b1f 100644
--- a/drivers/power/pmic/i2c_pmic_emul.c
+++ b/drivers/power/pmic/i2c_pmic_emul.c
@@ -8,6 +8,7 @@
#include <errno.h>
#include <dm.h>
#include <i2c.h>
+#include <malloc.h>
#include <power/pmic.h>
#include <power/sandbox_pmic.h>