summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2012-08-19 21:27:19 (GMT)
committerTakashi Iwai <tiwai@suse.de>2012-08-20 09:10:39 (GMT)
commitc86b6b452a6b2a80a2c9ffa3c8f7d80eea0fa196 (patch)
treec888cfb83c657bf55464fc8e43f7f5a5d89242fd /include/sound
parent1c86845268dc91fa6a53de9a4479b407cd4ee903 (diff)
downloadlinux-c86b6b452a6b2a80a2c9ffa3c8f7d80eea0fa196.tar.xz
ALSA: snd-ad1816a: remove useless struct snd_card_ad1816a
struct snd_card_ad1816a is only set but the values are never used then. Removing it allows struct snd_card's private_data to be used for struct snd_ad1816a, simplifying the code. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/ad1816a.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/ad1816a.h b/include/sound/ad1816a.h
index d010858..62da41e 100644
--- a/include/sound/ad1816a.h
+++ b/include/sound/ad1816a.h
@@ -165,7 +165,7 @@ struct snd_ad1816a {
extern int snd_ad1816a_create(struct snd_card *card, unsigned long port,
int irq, int dma1, int dma2,
- struct snd_ad1816a **chip);
+ struct snd_ad1816a *chip);
extern int snd_ad1816a_pcm(struct snd_ad1816a *chip, int device, struct snd_pcm **rpcm);
extern int snd_ad1816a_mixer(struct snd_ad1816a *chip);