mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 02:18:13 +07:00
ed582db639
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>
21 lines
537 B
C
21 lines
537 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* This file discribe the STM32 DFSDM IIO driver API for audio part
|
|
*
|
|
* Copyright (C) 2017, STMicroelectronics - All Rights Reserved
|
|
* Author(s): Arnaud Pouliquen <arnaud.pouliquen@st.com>.
|
|
*/
|
|
|
|
#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),
|
|
void *private);
|
|
int stm32_dfsdm_release_buff_cb(struct iio_dev *iio_dev);
|
|
|
|
#endif
|