Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361212
b: refs/heads/master
c: 5a4d729
h: refs/heads/master
v: v3
  • Loading branch information
Guenter Roeck authored and Jonathan Cameron committed Mar 2, 2013
1 parent 19b9258 commit e76e47f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: da0d4ef27ca1407e64b2ac9e75d2ca60bb83b618
refs/heads/master: 5a4d729139b4e94f670288a3505657311f95c886
9 changes: 6 additions & 3 deletions trunk/include/linux/iio/common/st_sensors.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,17 @@ struct st_sensor_data {
};

#ifdef CONFIG_IIO_BUFFER
irqreturn_t st_sensors_trigger_handler(int irq, void *p);

int st_sensors_get_buffer_element(struct iio_dev *indio_dev, u8 *buf);
#endif

#ifdef CONFIG_IIO_TRIGGER
int st_sensors_allocate_trigger(struct iio_dev *indio_dev,
const struct iio_trigger_ops *trigger_ops);

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)
Expand Down

0 comments on commit e76e47f

Please sign in to comment.