Thread (3 messages) 3 messages, 3 authors, 2008-01-12

Re: [PATCH] pm3fb: fix section mismatch warnings

From: Krzysztof Helt <hidden>
Date: 2008-01-12 04:14:57

On Fri, 11 Jan 2008 17:04:01 -0800
Randy Dunlap [off-list ref] wrote:
From: Randy Dunlap <redacted>

Add __devinit to one function to clean up section mismatch warnings:


 /* mmio register are already mapped when this function is called */
 /* the pm3fb_fix.smem_start is also set */
-static unsigned long pm3fb_size_memory(struct pm3_par *par)
+static unsigned long __devinit pm3fb_size_memory(struct pm3_par *par)
 {
Exactly the same patch is already in the -mm tree (by Adrian Bunk):
drivers-video-pm3fbc-section-fix.patch

Regards,
Krzysztof

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help