]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sm501fb: fix section mismatch warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 16 Jun 2011 19:32:40 +0000 (19:32 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 24 Jun 2011 08:00:35 +0000 (17:00 +0900)
commit9845afc8fa32de145d56c8e69b7900e10371255d
treeb38c896cd35ef75989a9baa60cdde69c5d357b21
parent3535ed3fa7a87244410696880000e03bc224315d
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 <randy.dunlap@oracle.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sm501fb.c