aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/industrialio-buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* staging: Add export.h for THIS_MODULE/EXPORT_SYMBOL to drivers/staging users.Paul Gortmaker2011-10-311-0/+1
| | | | | | | | Lots of drivers have in the past expected the presence of basic things like THIS_MODULE and EXPORT_SYMBOL. With the header cleanup, they wont have these. Call out the include explicitly. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
* staging:iio:core:naming: dev_info to indio_dev for consistencyJonathan Cameron2011-10-111-39/+39
| | | | | | | | | We had a random missmatch of these two. Lets pick the most common and get rid of the other. This patch covers the core. Others will clean up the drivers. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: iio: if(__LITTLE_ENDIAN) -> #ifdef __LITTLE_ENDIANJonathan Cameron2011-10-041-4/+5
| | | | | | | | Unsuprisingly this symbol isn't defined on big endian systems. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:iio: Prevent reading from buffer chrdev when device has no buffer.Jonathan Cameron2011-09-261-3/+5
| | | | | | | Silly bug introduced during the chrdev merge series. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging:iio: replacing term ring with buffer in the IIO core.Jonathan Cameron2011-09-261-0/+632
They aren't always ring buffers, so just use buffer for all naming. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>