Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268154
b: refs/heads/master
c: 1a25e59
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Sep 6, 2011
1 parent ea99a5a commit 65cfc36
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 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: 1e8dfcc6c3d36dabc77925104fc5769f79340be5
refs/heads/master: 1a25e5928e5ff7612087aab06c4130bf0ebe6592
19 changes: 10 additions & 9 deletions trunk/drivers/staging/iio/iio.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,10 @@ struct iio_info {
* @channels: [DRIVER] channel specification structure table
* @num_channels: [DRIVER] number of chanels specified in @channels.
* @channel_attr_list: [INTERN] keep track of automatically created channel
* attributes.
* attributes
* @name: [DRIVER] name of the device.
* @info: [DRIVER] callbacks and constant info from driver
* @chrdev: [INTERN] associated character device
**/
struct iio_dev {
int id;
Expand All @@ -284,13 +286,13 @@ struct iio_dev {
struct iio_trigger *trig;
struct iio_poll_func *pollfunc;

struct iio_chan_spec const *channels;
int num_channels;
struct iio_chan_spec const *channels;
int num_channels;

struct list_head channel_attr_list;
const char *name;
const struct iio_info *info;
struct cdev chrdev;
struct list_head channel_attr_list;
const char *name;
const struct iio_info *info;
struct cdev chrdev;
};

/**
Expand All @@ -308,11 +310,10 @@ void iio_device_unregister(struct iio_dev *dev_info);
/**
* iio_push_event() - try to add event to the list for userspace reading
* @dev_info: IIO device structure
* @ev_line: Which event line (hardware interrupt)
* @ev_code: What event
* @timestamp: When the event occurred
**/
int iio_push_event(struct iio_dev *dev_info, int ev_code, s64 timestamp);
int iio_push_event(struct iio_dev *dev_info, int ev_code, s64 timestamp);

extern struct bus_type iio_bus_type;

Expand Down

0 comments on commit 65cfc36

Please sign in to comment.