From: =?iso-8859-15?q?Lothar_Wa=DFmann?= Subject: Re: [RFC 2.6.26-rc3 1/7] pxafb: module unloading support Date: Tue, 10 Jun 2008 08:43:01 +0200 Message-ID: <18510.8821.785915.671710@ipc1.ka-ro> References: <1212814166-10313-1-git-send-email-jayakumar.lkml@gmail.com> <1212814166-10313-2-git-send-email-jayakumar.lkml@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1K5xZs-0001Ap-Le for linux-fbdev-devel@lists.sourceforge.net; Mon, 09 Jun 2008 23:43:32 -0700 Received: from mail.karo-electronics.de ([213.146.116.110]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1K5xZq-00036c-Gt for linux-fbdev-devel@lists.sourceforge.net; Mon, 09 Jun 2008 23:43:32 -0700 In-Reply-To: <1212814166-10313-2-git-send-email-jayakumar.lkml@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-fbdev-devel-bounces@lists.sourceforge.net Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: Jaya Kumar Cc: ymiao3@marvell.com, linux-fbdev-devel@lists.sourceforge.net, linux-arm-kernel@lists.arm.linux.org.uk Jaya Kumar wrote: > @@ -1587,7 +1587,7 @@ static int __init pxafb_parse_options(struct device= *dev, char *options) > static char g_options[256] __devinitdata =3D ""; > = > #ifndef CONFIG_MODULES ^^^^^^^^^^^^^^ > -static int __devinit pxafb_setup_options(void) > +static int __init pxafb_setup_options(void) > That should be '#ifndef MODULE'. Otherwise support for cmdline options for the built-in driver will only be enabled if the kernel is compiled without module support. Lothar Wa=DFmann -- = ___________________________________________________________ Ka-Ro electronics GmbH | Pascalstra=DFe 22 | D - 52076 Aachen Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10 Gesch=E4ftsf=FChrer: Matthias Kaussen Handelsregistereintrag: Amtsgericht Aachen, HRB 4996 www.karo-electronics.de | info@karo-electronics.de ___________________________________________________________ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php