lkml.org 
[lkml]   [2005]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: ALSA bt87x compile failure in 2.6.13-rc3
Date
MR> Substituting driver with pci->driver seems to cure it, it this the 
MR> correct fix?

I mean, the second argument to pci_match_device is already pci so it
looks strange.

Anyway, here is the patch that I used to get it to compile - untested.

Signed-off-by: Meelis Roos <mroos@linux.ee>

diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c
--- a/sound/pci/bt87x.c
+++ b/sound/pci/bt87x.c
@@ -804,7 +804,7 @@ static int __devinit snd_bt87x_detect_ca
int i;
const struct pci_device_id *supported;

- supported = pci_match_device(driver, pci);
+ supported = pci_match_device(pci->driver, pci);
if (supported)
return supported->driver_data;

--
Meelis Roos
-
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/
\
 
 \ /
  Last update: 2005-07-06 13:24    [W:0.037 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site