diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/iio/consumer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/iio/consumer.h b/include/linux/iio/consumer.h index a85787ac66ab..833926c91aa8 100644 --- a/include/linux/iio/consumer.h +++ b/include/linux/iio/consumer.h | |||
| @@ -31,14 +31,15 @@ struct iio_channel { | |||
| 31 | 31 | ||
| 32 | /** | 32 | /** |
| 33 | * iio_channel_get() - get description of all that is needed to access channel. | 33 | * iio_channel_get() - get description of all that is needed to access channel. |
| 34 | * @name: Unique name of the device as provided in the iio_map | 34 | * @dev: Pointer to consumer device. Device name must match |
| 35 | * the name of the device as provided in the iio_map | ||
| 35 | * with which the desired provider to consumer mapping | 36 | * with which the desired provider to consumer mapping |
| 36 | * was registered. | 37 | * was registered. |
| 37 | * @consumer_channel: Unique name to identify the channel on the consumer | 38 | * @consumer_channel: Unique name to identify the channel on the consumer |
| 38 | * side. This typically describes the channels use within | 39 | * side. This typically describes the channels use within |
| 39 | * the consumer. E.g. 'battery_voltage' | 40 | * the consumer. E.g. 'battery_voltage' |
| 40 | */ | 41 | */ |
| 41 | struct iio_channel *iio_channel_get(const char *name, | 42 | struct iio_channel *iio_channel_get(struct device *dev, |
| 42 | const char *consumer_channel); | 43 | const char *consumer_channel); |
| 43 | 44 | ||
| 44 | /** | 45 | /** |
