aboutsummaryrefslogtreecommitdiff
path: root/drivers/adc/stm32-adc-core.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-19 10:15:52 -0600
committerTom Rini <trini@konsulko.com>2020-08-03 22:19:54 -0400
commitc273da076553d72b4a3542efcc97cc7313604dea (patch)
treeb498c28932f3e49aae4ab1f8926bc75806265581 /drivers/adc/stm32-adc-core.h
parentdcd7c906d03829ce3a641c2a67edfe242dcea714 (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-core.h')
-rw-r--r--drivers/adc/stm32-adc-core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/adc/stm32-adc-core.h b/drivers/adc/stm32-adc-core.h
index ba0e10e6cc..05968dbcc8 100644
--- a/drivers/adc/stm32-adc-core.h
+++ b/drivers/adc/stm32-adc-core.h
@@ -26,9 +26,9 @@
#define STM32_ADC_MAX_ADCS 3
#define STM32_ADCX_COMN_OFFSET 0x300
-#include <common.h>
#include <clk.h>
-#include <dm.h>
+
+struct udevice;
/**
* struct stm32_adc_common - stm32 ADC driver common data (for all instances)