summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2012-08-19 23:27:19 +0200
committerTakashi Iwai <tiwai@suse.de>2012-08-20 11:10:39 +0200
commitc86b6b452a6b2a80a2c9ffa3c8f7d80eea0fa196 (patch)
treec888cfb83c657bf55464fc8e43f7f5a5d89242fd /include/sound
parentALSA: hda - Add 3stack-automute model to AD1882 codec (diff)
downloadlinux-c86b6b452a6b2a80a2c9ffa3c8f7d80eea0fa196.tar.xz
linux-c86b6b452a6b2a80a2c9ffa3c8f7d80eea0fa196.zip
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 d010858c33c2..62da41e508e1 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);