diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2012-08-20 01:27:19 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-08-20 13:10:39 +0400 |
commit | c86b6b452a6b2a80a2c9ffa3c8f7d80eea0fa196 (patch) | |
tree | c888cfb83c657bf55464fc8e43f7f5a5d89242fd /include/sound/ad1816a.h | |
parent | 1c86845268dc91fa6a53de9a4479b407cd4ee903 (diff) | |
download | linux-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/ad1816a.h')
-rw-r--r-- | include/sound/ad1816a.h | 2 |
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); |