diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-10-18 16:50:52 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-10-18 16:50:52 -0400 |
commit | cff6bf970965c98c62007fc8a36527fd147fe233 (patch) | |
tree | 2791f2208b54ade86625af416ff5342f11282f0c /sound/isa | |
parent | 6cd7525a00f3b926e8bd2e402954ed3e09a8e924 (diff) | |
parent | 39ca371c45b04cd50d0974030ae051906fc516b6 (diff) |
Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'sound/isa')
-rw-r--r-- | sound/isa/opl3sa2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/isa/opl3sa2.c b/sound/isa/opl3sa2.c index e2d2babcd20b..4ba268f251e3 100644 --- a/sound/isa/opl3sa2.c +++ b/sound/isa/opl3sa2.c | |||
@@ -914,6 +914,7 @@ static int __init alsa_card_opl3sa2_init(void) | |||
914 | #endif | 914 | #endif |
915 | #ifdef CONFIG_PNP | 915 | #ifdef CONFIG_PNP |
916 | pnp_unregister_card_driver(&opl3sa2_pnpc_driver); | 916 | pnp_unregister_card_driver(&opl3sa2_pnpc_driver); |
917 | pnp_unregister_driver(&opl3sa2_pnp_driver); | ||
917 | #endif | 918 | #endif |
918 | return -ENODEV; | 919 | return -ENODEV; |
919 | } | 920 | } |
@@ -927,6 +928,7 @@ static void __exit alsa_card_opl3sa2_exit(void) | |||
927 | #ifdef CONFIG_PNP | 928 | #ifdef CONFIG_PNP |
928 | /* PnP cards first */ | 929 | /* PnP cards first */ |
929 | pnp_unregister_card_driver(&opl3sa2_pnpc_driver); | 930 | pnp_unregister_card_driver(&opl3sa2_pnpc_driver); |
931 | pnp_unregister_driver(&opl3sa2_pnp_driver); | ||
930 | #endif | 932 | #endif |
931 | for (idx = 0; idx < SNDRV_CARDS; idx++) | 933 | for (idx = 0; idx < SNDRV_CARDS; idx++) |
932 | snd_card_free(snd_opl3sa2_legacy[idx]); | 934 | snd_card_free(snd_opl3sa2_legacy[idx]); |