Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249822
b: refs/heads/master
c: ad3eb9a
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed May 19, 2011
1 parent 9f7af24 commit 4c3b214
Show file tree
Hide file tree
Showing 5 changed files with 221 additions and 260 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d37b24b3c033be00f7345b7217d3aae1c662f363
refs/heads/master: ad3eb9ab1276cc69bb9cc72dffc074d1a317a6c0
13 changes: 1 addition & 12 deletions trunk/drivers/staging/iio/accel/adis16204.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ struct adis16204_state {
struct mutex buf_lock;
};

int adis16204_set_irq(struct device *dev, bool enable);
int adis16204_set_irq(struct iio_dev *indio_dev, bool enable);

#ifdef CONFIG_IIO_RING_BUFFER
enum adis16204_scan {
Expand All @@ -103,8 +103,6 @@ ssize_t adis16204_read_data_from_ring(struct device *dev,
int adis16204_configure_ring(struct iio_dev *indio_dev);
void adis16204_unconfigure_ring(struct iio_dev *indio_dev);

int adis16204_initialize_ring(struct iio_ring_buffer *ring);
void adis16204_uninitialize_ring(struct iio_ring_buffer *ring);
#else /* CONFIG_IIO_RING_BUFFER */

static inline void adis16204_remove_trigger(struct iio_dev *indio_dev)
Expand Down Expand Up @@ -133,14 +131,5 @@ static inline void adis16204_unconfigure_ring(struct iio_dev *indio_dev)
{
}

static inline int adis16204_initialize_ring(struct iio_ring_buffer *ring)
{
return 0;
}

static inline void adis16204_uninitialize_ring(struct iio_ring_buffer *ring)
{
}

#endif /* CONFIG_IIO_RING_BUFFER */
#endif /* SPI_ADIS16204_H_ */
Loading

0 comments on commit 4c3b214

Please sign in to comment.