Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 26 Apr 2002 05:56:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 26 Apr 2002 05:56:33 -0400 Received: from ns.suse.de ([213.95.15.193]:24836 "HELO Cantor.suse.de") by vger.kernel.org with SMTP id ; Fri, 26 Apr 2002 05:56:32 -0400 Date: Fri, 26 Apr 2002 11:56:31 +0200 Message-ID: From: Takashi Iwai To: Russell King Cc: Jaroslav Kysela , Ivan Kokshaysky , Jurriaan on Alpha , "linux-kernel@vger.kernel.org" Subject: Re: compiling cmipci in 2.5.10 on Alpha doesn't work In-Reply-To: <20020426104017.B16265@flint.arm.linux.org.uk> User-Agent: Wanderlust/2.6.1 (Upside Down) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.2 MULE XEmacs/21.4 (patch 4) (Artificial Intelligence) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 ' 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. Takashi - 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/