--- linux-2.6.13-rc2/sound/pci/bt87x.c.old 2005-07-06 16:29:08.000000000 +0200 +++ linux-2.6.13-rc2/sound/pci/bt87x.c 2005-07-06 16:25:05.000000000 +0200 @@ -47,6 +47,8 @@ static int digital_rate[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = 0 }; /* digital input rate */ static int load_all; /* allow to load the non-whitelisted cards */ +static struct pci_driver driver; + module_param_array(index, int, NULL, 0444); MODULE_PARM_DESC(index, "Index value for Bt87x soundcard"); module_param_array(id, charp, NULL, 0444); @@ -804,7 +806,7 @@ int i; const struct pci_device_id *supported; - supported = pci_match_device(driver, pci); + supported = pci_match_device(&driver, pci); if (supported) return supported->driver_data;