From: Takashi Iwai Subject: Re: asihpi driver -> kernel Date: Wed, 19 Dec 2007 14:36:22 +0100 Message-ID: References: <200709051300.35503.linux@audioscience.com> <47141823.4000307@audioscience.com> <47397615.4000201@audioscience.com> <475886C3.9070301@audioscience.com> <47671166.2050405@audioscience.com> <47684605.9050705@audioscience.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (mail.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 8809B2458C for ; Wed, 19 Dec 2007 16:27:24 +0100 (CET) In-Reply-To: <47684605.9050705@audioscience.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Eliot Blennerhassett Cc: Greg KH , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 19 Dec 2007 11:13:25 +1300, Eliot Blennerhassett wrote: > > Takashi Iwai wrote: > > >>> - Global variables should have some unique prefix. The kernel code is > >>> monolithc C, so they are really global and has no name space. > >> Did you have a list? > >> There are a few function names that don't start with HPI. > > > > Err, sorry, I meant global variables *and functions*. > > BTW is there any way to not export functions/variables that are used > only inside the kernel module? (but used between object files that make > up the module so cannot be made static) Remember that a driver can be built in a kernel, not as a module. > I.e. if the module was compiled as one huge sourcefile, almost > everything could be static. You can do it in that way, of course :) Takashi