diff options
Diffstat (limited to 'sound/pci/emu10k1/emu10k1x.c')
-rw-r--r-- | sound/pci/emu10k1/emu10k1x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/emu10k1x.c b/sound/pci/emu10k1/emu10k1x.c index 1ec7ebaff9e9..5512abd98bd9 100644 --- a/sound/pci/emu10k1/emu10k1x.c +++ b/sound/pci/emu10k1/emu10k1x.c | |||
@@ -29,7 +29,6 @@ | |||
29 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 29 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
30 | * | 30 | * |
31 | */ | 31 | */ |
32 | #include <sound/driver.h> | ||
33 | #include <linux/init.h> | 32 | #include <linux/init.h> |
34 | #include <linux/interrupt.h> | 33 | #include <linux/interrupt.h> |
35 | #include <linux/pci.h> | 34 | #include <linux/pci.h> |
@@ -1583,6 +1582,8 @@ static int __devinit snd_emu10k1x_probe(struct pci_dev *pci, | |||
1583 | sprintf(card->longname, "%s at 0x%lx irq %i", | 1582 | sprintf(card->longname, "%s at 0x%lx irq %i", |
1584 | card->shortname, chip->port, chip->irq); | 1583 | card->shortname, chip->port, chip->irq); |
1585 | 1584 | ||
1585 | snd_card_set_dev(card, &pci->dev); | ||
1586 | |||
1586 | if ((err = snd_card_register(card)) < 0) { | 1587 | if ((err = snd_card_register(card)) < 0) { |
1587 | snd_card_free(card); | 1588 | snd_card_free(card); |
1588 | return err; | 1589 | return err; |