The attached adds MODULE_DEVICE_TABLE support to the ISAPnP support
in the opl3sa2 driver, so it can get picked up by modutils and
the like.

Bill
--- linux/drivers/sound/opl3sa2.c.foo   Mon Feb 26 00:19:33 2001
+++ linux/drivers/sound/opl3sa2.c       Mon Feb 26 00:25:53 2001
@@ -806,6 +806,16 @@
 
 
 #if defined CONFIG_ISAPNP || defined CONFIG_ISAPNP_MODULE
+
+struct isapnp_device_id isapnp_opl3sa2_list[] __initdata = {
+       {       ISAPNP_ANY_ID, ISAPNP_ANY_ID,
+               ISAPNP_VENDOR('Y','M','H'), ISAPNP_FUNCTION(0x0021),
+               NULL },
+       {0}
+};
+
+MODULE_DEVICE_TABLE(isapnp, isapnp_opl3sa2_list);
+
 static int __init opl3sa2_isapnp_probe(struct address_info* hw_cfg,
                                       struct address_info* mss_cfg,
                                       struct address_info* mpu_cfg,

Reply via email to