>
> Hey,
>
> something fun for you all...
Here you go, don't know how that slipped by ^_^
Regards,
Zwane
Diffed against 2.5.5-dj2
--- linux-2.5.5-pre1/sound/oss/opl3sa2.c.orig Wed Feb 27 15:43:25 2002
+++ linux-2.5.5-pre1/sound/oss/opl3sa2.c Wed Feb 27 15:45:12 2002
@@ -1140,11 +1140,11 @@
for(card = 0; card < opl3sa2_cards_num; card++) {
#ifdef CONFIG_PM
- if (opl3sa2_data[card].pmdev)
- pm_unregister(opl3sa2_data[card].pmdev);
+ if (opl3sa2_state[card].pmdev)
+ pm_unregister(opl3sa2_state[card].pmdev);
#endif
- if(cfg_mpu[card].slots[1] != -1) {
- unload_opl3sa2_mpu(&cfg_mpu[card]);
+ if(opl3sa2_state[card].cfg_mpu.slots[1] != -1) {
+ unload_opl3sa2_mpu(&opl3sa2_state[card].cfg_mpu);
}
unload_opl3sa2_mss(&opl3sa2_state[card].cfg_mss);
unload_opl3sa2(&opl3sa2_state[card].cfg, card);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/