summaryrefslogtreecommitdiff
path: root/drivers/adc/rockchip-saradc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/adc/rockchip-saradc.c')
-rw-r--r--drivers/adc/rockchip-saradc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/adc/rockchip-saradc.c b/drivers/adc/rockchip-saradc.c
index ed773b9642..850142cce3 100644
--- a/drivers/adc/rockchip-saradc.c
+++ b/drivers/adc/rockchip-saradc.c
@@ -11,6 +11,7 @@
#include <dm.h>
#include <errno.h>
#include <asm/io.h>
+#include <linux/err.h>
#define SARADC_CTRL_CHN_MASK GENMASK(2, 0)
#define SARADC_CTRL_POWER_CTRL BIT(3)