Beispiel #1
0
void cleanup_module(void)
{
	if (found_mpu)
		unload_mad16_mpu(&config_mpu);
	unload_mad16(&config);
	SOUND_LOCK_END;
}
static void __exit cleanup_mad16(void)
{
	if (found_mpu)
		unload_mad16_mpu(&cfg_mpu);
	if (gameport.io) {
		/* the gameport was initialized so we must free it up */
		gameport_unregister_port(&gameport);
		gameport.io = 0;
		release_region(0x201, 1);
	}
	unload_mad16(&cfg);
}