aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/logo/logo.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-06-02 18:47:53 -0400
committerSam Ravnborg <sam@ravnborg.org>2007-07-16 17:24:55 -0400
commit92cc6b0725d800dcc3b9d62b419724050e4f7872 (patch)
tree5a0ee778fa759fda83e2d3bf5bfdbc9ae7340d5d /drivers/video/logo/logo.c
parentd3ab78560b9a244bdb2ba2ef0e53193832d311c2 (diff)
kbuild: remove hardcoded _logo names from modpost
Replaced this with a __init_refok marker in front of fb_find_logo(). I think that the __initdata marker for the logo's are wrong but I have not justified this so I did not remove it. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'drivers/video/logo/logo.c')
-rw-r--r--drivers/video/logo/logo.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/video/logo/logo.c b/drivers/video/logo/logo.c
index 80c03618eb53..2b0f799aa8da 100644
--- a/drivers/video/logo/logo.c
+++ b/drivers/video/logo/logo.c
@@ -34,8 +34,11 @@ extern const struct linux_logo logo_superh_vga16;
34extern const struct linux_logo logo_superh_clut224; 34extern const struct linux_logo logo_superh_clut224;
35extern const struct linux_logo logo_m32r_clut224; 35extern const struct linux_logo logo_m32r_clut224;
36 36
37 37/* logo's are marked __initdata. Use __init_refok to tell
38const struct linux_logo *fb_find_logo(int depth) 38 * modpost that it is intended that this function uses data
39 * marked __initdata.
40 */
41const struct linux_logo * __init_refok fb_find_logo(int depth)
39{ 42{
40 const struct linux_logo *logo = NULL; 43 const struct linux_logo *logo = NULL;
41 44