diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-19 10:15:52 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-03 22:19:54 -0400 |
commit | c273da076553d72b4a3542efcc97cc7313604dea (patch) | |
tree | b498c28932f3e49aae4ab1f8926bc75806265581 /drivers/adc/stm32-adc.c | |
parent | dcd7c906d03829ce3a641c2a67edfe242dcea714 (diff) |
adc: Drop dm.h header file
This header file should not be included in other header files. Remove it
and use a forward declaration instead.
Drop the common.h inclusion also.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/adc/stm32-adc.c')
-rw-r--r-- | drivers/adc/stm32-adc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/adc/stm32-adc.c b/drivers/adc/stm32-adc.c index b12f894a9b..3f0ed48846 100644 --- a/drivers/adc/stm32-adc.c +++ b/drivers/adc/stm32-adc.c @@ -8,6 +8,7 @@ #include <common.h> #include <adc.h> +#include <dm.h> #include <asm/io.h> #include <dm/device_compat.h> #include <linux/bitops.h> |