From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: 2.4 <--> 2.6 request_firmware() compatibility ? Date: Wed, 17 Nov 2004 11:38:46 +0100 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Giuliano Pochini Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 17 Nov 2004 10:55:02 +0100 (CET), Giuliano Pochini wrote: > > request_firmware() and struct pci_dev of linux 2.6 are > not compatible with linux 2.4. Are there compatible > wrappers of have I to write another bunch of ifdef's > and macros in the driver ? No compatible wrapper since there is no struct device in 2.4. ifdef (and a patch for the codes in alsa-kernel) would be the easiet solution, I think. If you create a center caller of request_firmware, you need only one ifdef :) Takashi ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8