linux/drivers/iio/gyro/st_gyro_buffer.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * STMicroelectronics gyroscopes driver
 *
 * Copyright 2012-2013 STMicroelectronics Inc.
 *
 * Denis Ciocca <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include <linux/iio/trigger.h>
#include <linux/iio/triggered_buffer.h>

#include <linux/iio/common/st_sensors.h>
#include "st_gyro.h"

int st_gyro_trig_set_state(struct iio_trigger *trig, bool state)
{}

static int st_gyro_buffer_postenable(struct iio_dev *indio_dev)
{}

static int st_gyro_buffer_predisable(struct iio_dev *indio_dev)
{}

static const struct iio_buffer_setup_ops st_gyro_buffer_setup_ops =;

int st_gyro_allocate_ring(struct iio_dev *indio_dev)
{}