Re: [RFC 2.6.26-rc3 1/7] pxafb: module unloading support

From
Lothar Waßmann <hidden>
Date
2008-06-10 06:43:32
Reply to
Jaya Kumar, 2008-06-07
Jaya Kumar wrote:
quoted hunk ↗ jump to hunk
@@ -1587,7 +1587,7 @@ static int __init pxafb_parse_options(struct device *dev, char *options)
 static char g_options[256] __devinitdata = "";
 
 #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ßmann
-- 
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: 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
Thread (21 messages) 21 messages, 4 authors, 2008-06-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help