[lkml]   [2002]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: compiling cmipci in 2.5.10 on Alpha doesn't work
At Fri, 26 Apr 2002 10:40:17 +0100,
Russell King wrote:
> On Fri, Apr 26, 2002 at 11:17:23AM +0200, Jaroslav Kysela wrote:
> > The real fix is to add '#include <linux/pci.h>' line to all necessary
> > source files (sound/pci/cmipci.c in this example). Not all source files
> > need pci.h for compilation.
> You'd also need to forward-declare struct pci_dev in sound/driver.h to
> stop the compiler complaining about 'struct pci_dev' in function
> prototypes.

struct pci_dev in sound/driver.h is used only for i386 and ppc, so
it's not problem.

but it's true for sound/core.h. we use the struct there, too, for
general cases.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:25    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean