From: Randy Dunlap Date: Thu, 16 Jun 2011 19:32:40 +0000 (+0000) Subject: sm501fb: fix section mismatch warning X-Git-Tag: v3.0-rc6~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9845afc8fa32de145d56c8e69b7900e10371255d;p=pandora-kernel.git sm501fb: fix section mismatch warning Fix section mismatch warning in sm501fb: WARNING: drivers/video/sm501fb.o(.text+0x21d6): Section mismatch in reference from the function sm501fb_init_fb() to the variable .devinit.data:sm501_default_mode The function sm501fb_init_fb() references the variable __devinitdata sm501_default_mode. This is often because sm501fb_init_fb lacks a __devinitdata annotation or the annotation of sm501_default_mode is wrong. Signed-off-by: Randy Dunlap Signed-off-by: Paul Mundt --- Reading git-diff-tree failed