projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b98c9e6
)
staging: iio: adis16350 add dummy ring functions for no ring build case
author
Jonathan Cameron
<jic23@cam.ac.uk>
Thu, 29 Jul 2010 16:50:48 +0000
(17:50 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 3 Aug 2010 00:06:03 +0000
(17:06 -0700)
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/imu/adis16350.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/iio/imu/adis16350.h
b/drivers/staging/iio/imu/adis16350.h
index 738debaf877f4be90ccd53cb87dbc7f34c9d6f89..b00001e3edd0ba660610bc505eaaad1fd96fcce9 100644
(file)
--- a/
drivers/staging/iio/imu/adis16350.h
+++ b/
drivers/staging/iio/imu/adis16350.h
@@
-165,5
+165,13
@@
adis16350_read_data_from_ring(struct device *dev,
return 0;
}
+static inline int adis16350_configure_ring(struct iio_dev *indio_dev)
+{
+ return 0;
+}
+
+static inline void adis16350_unconfigure_ring(struct iio_dev *indio_dev)
+{
+}
#endif /* CONFIG_IIO_RING_BUFFER */
#endif /* SPI_ADIS16350_H_ */