Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 26 Apr 2002 06:27:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 26 Apr 2002 06:27:03 -0400 Received: from gate.perex.cz ([194.212.165.105]:22793 "EHLO gate.perex.cz") by vger.kernel.org with ESMTP id ; Fri, 26 Apr 2002 06:27:02 -0400 Date: Fri, 26 Apr 2002 12:26:10 +0200 (CEST) From: Jaroslav Kysela X-X-Sender: To: Ivan Kokshaysky cc: Jurriaan on Alpha , "linux-kernel@vger.kernel.org" Subject: Re: compiling cmipci in 2.5.10 on Alpha doesn't work In-Reply-To: <20020426141858.A20449@jurassic.park.msu.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 26 Apr 2002, Ivan Kokshaysky 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. > > Yes, but quite a few of them. Almost all files under sound/pci, > plus isapnp stuff which needs struct pci_dev and struct pci_bus. > Including in single place would be much simpler > and shouldn't break anything, no? already includes and there are many files in sound/core, sound/drivers, sound/i2c which really have not anything related to PCI. I think that it's better to include only related header files to optimize compilation (although current CPUs are fast enough). Jaroslav ----- Jaroslav Kysela Linux Kernel Sound Maintainer ALSA Project http://www.alsa-project.org SuSE Linux http://www.suse.com - 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/