[U-Boot] [PATCH 5/5] fb: Add a prototype for board_video_skip()

Fabio Estevam festevam at gmail.com
Sat Feb 15 17:52:02 CET 2014


From: Fabio Estevam <fabio.estevam at freescale.com>

Add a prototype for board_video_skip() in order to fix the following sparse
warning:

wandboard.c:227:5: warning: symbol 'board_video_skip' was not declared. Should it be static?

Cc: Anatolij Gustschin <agust at denx.de>
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
 include/linux/fb.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/fb.h b/include/linux/fb.h
index 111372c..652cf3b 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -612,6 +612,8 @@ struct fb_videomode {
 	u32 flag;
 };
 
+int board_video_skip(void);
+
 #endif /* __KERNEL__ */
 
 #endif /* _LINUX_FB_H */
-- 
1.8.1.2



More information about the U-Boot mailing list