summaryrefslogtreecommitdiff
path: root/src/control/control_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/control/control_hw.c')
-rw-r--r--src/control/control_hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/control_hw.c b/src/control/control_hw.c
index 496ce220..8ca8b8b5 100644
--- a/src/control/control_hw.c
+++ b/src/control/control_hw.c
@@ -48,7 +48,7 @@ static int snd_ctl_hw_close(snd_ctl_t *handle)
return res;
}
-static int snd_ctl_hw_file_descriptor(snd_ctl_t *handle)
+static int snd_ctl_hw_poll_descriptor(snd_ctl_t *handle)
{
snd_ctl_hw_t *hw = handle->private;
return hw->fd;
@@ -134,7 +134,7 @@ static int snd_ctl_hw_read(snd_ctl_t *handle, snd_ctl_event_t *event)
struct snd_ctl_ops snd_ctl_hw_ops = {
close: snd_ctl_hw_close,
- file_descriptor: snd_ctl_hw_file_descriptor,
+ poll_descriptor: snd_ctl_hw_poll_descriptor,
hw_info: snd_ctl_hw_hw_info,
clist: snd_ctl_hw_clist,
cinfo: snd_ctl_hw_cinfo,