Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249821
b: refs/heads/master
c: d37b24b
h: refs/heads/master
i:
  249819: edf4c6d
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed May 19, 2011
1 parent c8c9605 commit 9f7af24
Show file tree
Hide file tree
Showing 5 changed files with 196 additions and 258 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: cf96ffd8c2ed7728f8abb2b6122da78319466a2d
refs/heads/master: d37b24b3c033be00f7345b7217d3aae1c662f363
13 changes: 1 addition & 12 deletions trunk/drivers/staging/iio/accel/adis16203.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ struct adis16203_state {
struct mutex buf_lock;
};

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

#ifdef CONFIG_IIO_RING_BUFFER
enum adis16203_scan {
Expand All @@ -95,8 +95,6 @@ ssize_t adis16203_read_data_from_ring(struct device *dev,
int adis16203_configure_ring(struct iio_dev *indio_dev);
void adis16203_unconfigure_ring(struct iio_dev *indio_dev);

int adis16203_initialize_ring(struct iio_ring_buffer *ring);
void adis16203_uninitialize_ring(struct iio_ring_buffer *ring);
#else /* CONFIG_IIO_RING_BUFFER */

static inline void adis16203_remove_trigger(struct iio_dev *indio_dev)
Expand Down Expand Up @@ -125,14 +123,5 @@ static inline void adis16203_unconfigure_ring(struct iio_dev *indio_dev)
{
}

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

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

#endif /* CONFIG_IIO_RING_BUFFER */
#endif /* SPI_ADIS16203_H_ */
Loading

0 comments on commit 9f7af24

Please sign in to comment.