Re: compiling cmipci in 2.5.10 on Alpha doesn't work

From: Russell King (rmk@arm.linux.org.uk)
Date: Fri Apr 26 2002 - 04:40:17 EST


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.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- 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/



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:12 EST