GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / staging / iio / ring_hw.h
blobbb8cfd28d4535fd14713edfda2849230ff3a38f7
1 /*
2 * ring_hw.h - common functionality for iio hardware ring buffers
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 2 as published by
6 * the Free Software Foundation.
8 * Copyright (c) 2009 Jonathan Cameron <jic23@cam.ac.uk>
12 /**
13 * struct iio_hw_ring_buffer- hardware ring buffer
14 * @buf: generic ring buffer elements
15 * @private: device specific data
17 struct iio_hw_ring_buffer {
18 struct iio_ring_buffer buf;
19 void *private;
22 #define iio_to_hw_ring_buf(r) container_of(r, struct iio_hw_ring_buffer, buf)