aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/oss/sb_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/oss/sb_common.c b/sound/oss/sb_common.c
index 07cbacf63824..77d0e5efda76 100644
--- a/sound/oss/sb_common.c
+++ b/sound/oss/sb_common.c
@@ -1228,7 +1228,8 @@ int probe_sbmpu(struct address_info *hw_config, struct module *owner)
1228 } 1228 }
1229 attach_mpu401(hw_config, owner); 1229 attach_mpu401(hw_config, owner);
1230 if (last_sb->irq == -hw_config->irq) 1230 if (last_sb->irq == -hw_config->irq)
1231 last_sb->midi_irq_cookie=(void *)hw_config->slots[1]; 1231 last_sb->midi_irq_cookie =
1232 (void *)(long) hw_config->slots[1];
1232 return 1; 1233 return 1;
1233 } 1234 }
1234#endif 1235#endif