summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorDaniel Ritz <daniel.ritz@gmx.ch>2005-09-12 11:47:04 +0200
committerJaroslav Kysela <perex@suse.cz>2005-10-07 14:45:17 +0200
commit06f619ccb3319759c2acf91c7ca02b6b1d9ed343 (patch)
tree8064ad428d9debd8c206fc493713c82965d02fc0 /sound
parent829841146878e082613a49581ae252c071057c23 (diff)
downloadop-kernel-dev-06f619ccb3319759c2acf91c7ca02b6b1d9ed343.zip
op-kernel-dev-06f619ccb3319759c2acf91c7ca02b6b1d9ed343.tar.gz
[ALSA] snd_opl3sa2: add missing pnp_unregister_driver() calls
OPL3SA2 driver Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/isa/opl3sa2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/isa/opl3sa2.c b/sound/isa/opl3sa2.c
index e2d2bab..4ba268f 100644
--- a/sound/isa/opl3sa2.c
+++ b/sound/isa/opl3sa2.c
@@ -914,6 +914,7 @@ static int __init alsa_card_opl3sa2_init(void)
#endif
#ifdef CONFIG_PNP
pnp_unregister_card_driver(&opl3sa2_pnpc_driver);
+ pnp_unregister_driver(&opl3sa2_pnp_driver);
#endif
return -ENODEV;
}
@@ -927,6 +928,7 @@ static void __exit alsa_card_opl3sa2_exit(void)
#ifdef CONFIG_PNP
/* PnP cards first */
pnp_unregister_card_driver(&opl3sa2_pnpc_driver);
+ pnp_unregister_driver(&opl3sa2_pnp_driver);
#endif
for (idx = 0; idx < SNDRV_CARDS; idx++)
snd_card_free(snd_opl3sa2_legacy[idx]);
OpenPOWER on IntegriCloud