// SPDX-License-Identifier: GPL-2.0-only /* * STMicroelectronics sensors buffer library driver * * Copyright 2012-2013 STMicroelectronics Inc. * * Denis Ciocca <[email protected]> */ #include <linux/kernel.h> #include <linux/iio/iio.h> #include <linux/iio/trigger.h> #include <linux/interrupt.h> #include <linux/iio/buffer.h> #include <linux/iio/trigger_consumer.h> #include <linux/irqreturn.h> #include <linux/regmap.h> #include <linux/iio/common/st_sensors.h> static int st_sensors_get_buffer_element(struct iio_dev *indio_dev, u8 *buf) { … } irqreturn_t st_sensors_trigger_handler(int irq, void *p) { … } EXPORT_SYMBOL_NS(…);