aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/logo
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-06-03 00:47:53 +0200
committerSam Ravnborg <sam@ravnborg.org>2007-07-16 23:24:55 +0200
commit92cc6b0725d800dcc3b9d62b419724050e4f7872 (patch)
tree5a0ee778fa759fda83e2d3bf5bfdbc9ae7340d5d /drivers/video/logo
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')
-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 80c03618eb5..2b0f799aa8d 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;
extern const struct linux_logo logo_superh_clut224;
extern const struct linux_logo logo_m32r_clut224;
-
-const struct linux_logo *fb_find_logo(int depth)
+/* logo's are marked __initdata. Use __init_refok to tell
+ * modpost that it is intended that this function uses data
+ * marked __initdata.
+ */
+const struct linux_logo * __init_refok fb_find_logo(int depth)
{
const struct linux_logo *logo = NULL;