diff options
Diffstat (limited to 'sound/isa')
-rw-r--r-- | sound/isa/opl3sa2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/isa/opl3sa2.c b/sound/isa/opl3sa2.c index bb5406cf0a19..75bd6eca63e7 100644 --- a/sound/isa/opl3sa2.c +++ b/sound/isa/opl3sa2.c | |||
@@ -607,7 +607,7 @@ static int __init snd_opl3sa2_pnp(int dev, opl3sa2_t *chip, | |||
607 | if (irq[dev] != SNDRV_AUTO_IRQ) | 607 | if (irq[dev] != SNDRV_AUTO_IRQ) |
608 | pnp_resource_change(&cfg->irq_resource[0], irq[dev], 1); | 608 | pnp_resource_change(&cfg->irq_resource[0], irq[dev], 1); |
609 | err = pnp_manual_config_dev(pdev, cfg, 0); | 609 | err = pnp_manual_config_dev(pdev, cfg, 0); |
610 | if (err < 0) | 610 | if (err < 0 && isapnp) |
611 | snd_printk(KERN_ERR "PnP manual resources are invalid, using auto config\n"); | 611 | snd_printk(KERN_ERR "PnP manual resources are invalid, using auto config\n"); |
612 | err = pnp_activate_dev(pdev); | 612 | err = pnp_activate_dev(pdev); |
613 | if (err < 0) { | 613 | if (err < 0) { |
@@ -839,7 +839,7 @@ static void __devexit snd_opl3sa2_pnp_remove(struct pnp_dev * pdev) | |||
839 | } | 839 | } |
840 | 840 | ||
841 | static struct pnp_driver opl3sa2_pnp_driver = { | 841 | static struct pnp_driver opl3sa2_pnp_driver = { |
842 | .name = "opl3sa2", | 842 | .name = "opl3sa2-pnpbios", |
843 | .id_table = snd_opl3sa2_pnpbiosids, | 843 | .id_table = snd_opl3sa2_pnpbiosids, |
844 | .probe = snd_opl3sa2_pnp_detect, | 844 | .probe = snd_opl3sa2_pnp_detect, |
845 | .remove = __devexit_p(snd_opl3sa2_pnp_remove), | 845 | .remove = __devexit_p(snd_opl3sa2_pnp_remove), |