Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354480
b: refs/heads/master
c: 91ffbab
h: refs/heads/master
v: v3
  • Loading branch information
Denis CIOCCA authored and Jonathan Cameron committed Feb 9, 2013
1 parent 6a95ab1 commit 7772a44
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5aa57f0a655276f62683c0cc714cd6328d98e08a
refs/heads/master: 91ffbabfd9ae6b9bfef02bb1e0fbba451c7289a7
10 changes: 10 additions & 0 deletions trunk/include/linux/iio/common/st_sensors.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,16 @@ void st_sensors_deallocate_trigger(struct iio_dev *indio_dev);
irqreturn_t st_sensors_trigger_handler(int irq, void *p);

int st_sensors_get_buffer_element(struct iio_dev *indio_dev, u8 *buf);
#else
static inline int st_sensors_allocate_trigger(struct iio_dev *indio_dev,
const struct iio_trigger_ops *trigger_ops)
{
return 0;
}
static inline void st_sensors_deallocate_trigger(struct iio_dev *indio_dev)
{
return;
}
#endif

int st_sensors_init_sensor(struct iio_dev *indio_dev);
Expand Down

0 comments on commit 7772a44

Please sign in to comment.