Skip to contentSkip to conversation

neo_free_fb_info shouldn't be __devinit

PATCH New Kronos 1 participant 1 message Sep 6, 2003 Framebuffer layer

lore
Share & tools
lore

Kronos

author
#0 lore raw

PATCH 1/1 neo_free_fb_info shouldn't be __devinit

Hi,
in drivers/video/neofb.c the function neo_free_fb_info is marked as __devinit. However it is used also by neofb_remove (during unload). The following patch removes __devinit:

drivers/video/neofb.c +1 -1
@@ -1949,7 +1949,7 @@
 	return info;
 }
 
-static void __devinit neo_free_fb_info(struct fb_info *info)
+static void neo_free_fb_info(struct fb_info *info)
 {
 	if (info) {
 		/*

Luca

Signature · 11 lines
Reply-To: [email protected]
Home: http://kronoz.cjb.net
"Chi parla in tono cortese, ma continua a prepararsi, potra` andare avanti;
 chi parla in tono bellicoso e avanza rapidamente dovra` ritirarsi" 
Sun Tzu -- L'arte della guerra


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf