summaryrefslogtreecommitdiffstats
path: root/include/aiodev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aiodev.h')
-rw-r--r--include/aiodev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/aiodev.h b/include/aiodev.h
index 65d817f296..d557715671 100644
--- a/include/aiodev.h
+++ b/include/aiodev.h
@@ -31,7 +31,8 @@ struct aiodevice {
int aiodevice_register(struct aiodevice *aiodev);
struct aiochannel *aiochannel_get(struct device_d *dev, int index);
-struct aiochannel *aiochannel_get_by_name(const char *name);
+/* Find aiochannel by channel name, e.g. "aiodev0.in_value0_mV" */
+struct aiochannel *aiochannel_by_name(const char *name);
int aiochannel_get_value(struct aiochannel *aiochan, int *value);
int aiochannel_get_index(struct aiochannel *aiochan);