Commit 966a7f0d authored by Paul Bolle's avatar Paul Bolle Committed by Takashi Iwai

ALSA: intel8x0m: append 'm' to "r_intel8x0"

Appending an 'm' will distinguish it from a similar struct in intel8x0.c
Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a6e8509f
...@@ -1109,7 +1109,7 @@ struct ich_reg_info { ...@@ -1109,7 +1109,7 @@ struct ich_reg_info {
static int __devinit snd_intel8x0m_create(struct snd_card *card, static int __devinit snd_intel8x0m_create(struct snd_card *card,
struct pci_dev *pci, struct pci_dev *pci,
unsigned long device_type, unsigned long device_type,
struct intel8x0m ** r_intel8x0) struct intel8x0m **r_intel8x0m)
{ {
struct intel8x0m *chip; struct intel8x0m *chip;
int err; int err;
...@@ -1125,7 +1125,7 @@ static int __devinit snd_intel8x0m_create(struct snd_card *card, ...@@ -1125,7 +1125,7 @@ static int __devinit snd_intel8x0m_create(struct snd_card *card,
}; };
struct ich_reg_info *tbl; struct ich_reg_info *tbl;
*r_intel8x0 = NULL; *r_intel8x0m = NULL;
if ((err = pci_enable_device(pci)) < 0) if ((err = pci_enable_device(pci)) < 0)
return err; return err;
...@@ -1238,7 +1238,7 @@ static int __devinit snd_intel8x0m_create(struct snd_card *card, ...@@ -1238,7 +1238,7 @@ static int __devinit snd_intel8x0m_create(struct snd_card *card,
snd_card_set_dev(card, &pci->dev); snd_card_set_dev(card, &pci->dev);
*r_intel8x0 = chip; *r_intel8x0m = chip;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment