diff options
author | Daniel Mack <daniel@caiaq.de> | 2010-06-16 17:57:31 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-06-23 16:10:23 +0200 |
commit | 3d8d4dcfd423b01ef7ea7c3c97720764b7adb6df (patch) | |
tree | 4bb52394ecfe1f2bda274ab6af3dbe1be9d7bbf2 /sound/usb/clock.h | |
parent | ALSA: usb-audio: move and add some comments (diff) | |
download | linux-3d8d4dcfd423b01ef7ea7c3c97720764b7adb6df.tar.xz linux-3d8d4dcfd423b01ef7ea7c3c97720764b7adb6df.zip |
ALSA: usb-audio: simplify control interface access
As the control interface is now carried in struct snd_usb_audio, we can
simplify the API a little and also drop the private ctrlif field from
struct usb_mixer_interface.
Also remove a left-over function prototype in pcm.h.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/clock.h')
-rw-r--r-- | sound/usb/clock.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/usb/clock.h b/sound/usb/clock.h index beb253684e2d..46630936d31f 100644 --- a/sound/usb/clock.h +++ b/sound/usb/clock.h @@ -5,8 +5,6 @@ int snd_usb_init_sample_rate(struct snd_usb_audio *chip, int iface, struct usb_host_interface *alts, struct audioformat *fmt, int rate); -int snd_usb_clock_find_source(struct snd_usb_audio *chip, - struct usb_host_interface *host_iface, - int entity_id); +int snd_usb_clock_find_source(struct snd_usb_audio *chip, int entity_id); #endif /* __USBAUDIO_CLOCK_H */ |