Commit 3811cd62 authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Greg Kroah-Hartman

staging:iio: rename ring_generic.h -> buffer_generic.h

Nothing in this file is specific to RING buffers so rename it.
Signed-off-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f2a96245
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "adis16201.h" #include "adis16201.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "adis16203.h" #include "adis16203.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "adis16204.h" #include "adis16204.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "adis16209.h" #include "adis16209.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "adis16240.h" #include "adis16240.h"
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "lis3l02dq.h" #include "lis3l02dq.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <linux/module.h> #include <linux/module.h>
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "sca3000.h" #include "sca3000.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "../ring_hw.h" #include "../ring_hw.h"
#include "sca3000.h" #include "sca3000.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger.h" #include "../trigger.h"
#include "../trigger_consumer.h" #include "../trigger_consumer.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "ad7298.h" #include "ad7298.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include "../iio.h" #include "../iio.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger_consumer.h" #include "../trigger_consumer.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "ad7476.h" #include "ad7476.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include "../iio.h" #include "../iio.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger_consumer.h" #include "../trigger_consumer.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "ad7606.h" #include "ad7606.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include "../iio.h" #include "../iio.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger_consumer.h" #include "../trigger_consumer.h"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h"
#include "ad7780.h" #include "ad7780.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger.h" #include "../trigger.h"
#include "../trigger_consumer.h" #include "../trigger_consumer.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "ad7887.h" #include "ad7887.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include "../iio.h" #include "../iio.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger_consumer.h" #include "../trigger_consumer.h"
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "ad799x.h" #include "ad799x.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <linux/bitops.h> #include <linux/bitops.h>
#include "../iio.h" #include "../iio.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger_consumer.h" #include "../trigger_consumer.h"
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "max1363.h" #include "max1363.h"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <linux/bitops.h> #include <linux/bitops.h>
#include "../iio.h" #include "../iio.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger_consumer.h" #include "../trigger_consumer.h"
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
* the Free Software Foundation. * the Free Software Foundation.
*/ */
#ifndef _IIO_RING_GENERIC_H_ #ifndef _IIO_BUFFER_GENERIC_H_
#define _IIO_RING_GENERIC_H_ #define _IIO_BUFFER_GENERIC_H_
#include <linux/sysfs.h> #include <linux/sysfs.h>
#include "iio.h" #include "iio.h"
#include "chrdev.h" #include "chrdev.h"
...@@ -223,4 +223,4 @@ static inline void iio_ring_buffer_unregister(struct iio_dev *indio_dev) ...@@ -223,4 +223,4 @@ static inline void iio_ring_buffer_unregister(struct iio_dev *indio_dev)
#endif /* CONFIG_IIO_BUFFER */ #endif /* CONFIG_IIO_BUFFER */
#endif /* _IIO_RING_GENERIC_H_ */ #endif /* _IIO_BUFFER_GENERIC_H_ */
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "adis16260.h" #include "adis16260.h"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "ad5933.h" #include "ad5933.h"
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "adis16400.h" #include "adis16400.h"
enum adis16400_chip_variant { enum adis16400_chip_variant {
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "iio.h" #include "iio.h"
#include "iio_core.h" #include "iio_core.h"
#include "sysfs.h" #include "sysfs.h"
#include "ring_generic.h" #include "buffer_generic.h"
static const char * const iio_endian_prefix[] = { static const char * const iio_endian_prefix[] = {
[IIO_BE] = "be", [IIO_BE] = "be",
......
#include <linux/kfifo.h> #include <linux/kfifo.h>
#include "iio.h" #include "iio.h"
#include "ring_generic.h" #include "buffer_generic.h"
extern const struct iio_ring_access_funcs kfifo_access_funcs; extern const struct iio_ring_access_funcs kfifo_access_funcs;
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h" #include "../sysfs.h"
#include "../ring_generic.h" #include "../buffer_generic.h"
#include "meter.h" #include "meter.h"
#include "ade7758.h" #include "ade7758.h"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#ifndef _IIO_RING_SW_H_ #ifndef _IIO_RING_SW_H_
#define _IIO_RING_SW_H_ #define _IIO_RING_SW_H_
#include "ring_generic.h" #include "buffer_generic.h"
/** /**
* ring_sw_access_funcs - access functions for a software ring buffer * ring_sw_access_funcs - access functions for a software ring buffer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment