summaryrefslogtreecommitdiff
path: root/include/linux/iio/adc
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2018-05-15 18:19:17 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-05-20 13:25:25 +0300
commited582db639cfe65e2d901fca1be8fd813a18fec4 (patch)
treeec1b17c6f11909d8fb9ae4003ee79d33a69e7a96 /include/linux/iio/adc
parentbed1895e78b510ecc425ab01ef96ddba0881acc5 (diff)
downloadlinux-ed582db639cfe65e2d901fca1be8fd813a18fec4.tar.xz
iio: adc: stm32-dfsdm: include stm32-dfsdm-adc.h
Fix the following sparse warnings: CHECK drivers/iio/adc/stm32-dfsdm-adc.c symbol 'stm32_dfsdm_get_buff_cb' was not declared. Should it be static? symbol 'stm32_dfsdm_release_buff_cb' was not declared. Should it be static? BTW, move interrupt.h to sort headers alphabetically. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/iio/adc')
-rw-r--r--include/linux/iio/adc/stm32-dfsdm-adc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/iio/adc/stm32-dfsdm-adc.h b/include/linux/iio/adc/stm32-dfsdm-adc.h
index e7dc7a542a4e..0da298b41737 100644
--- a/include/linux/iio/adc/stm32-dfsdm-adc.h
+++ b/include/linux/iio/adc/stm32-dfsdm-adc.h
@@ -9,6 +9,8 @@
#ifndef STM32_DFSDM_ADC_H
#define STM32_DFSDM_ADC_H
+#include <linux/iio/iio.h>
+
int stm32_dfsdm_get_buff_cb(struct iio_dev *iio_dev,
int (*cb)(const void *data, size_t size,
void *private),