diff mbox

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

Message ID 1392483122-21852-5-git-send-email-festevam@gmail.com
State Accepted
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Feb. 15, 2014, 4:52 p.m. UTC
From: Fabio Estevam <fabio.estevam@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@denx.de>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/linux/fb.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stefano Babic March 5, 2014, 11:11 a.m. UTC | #1
On 15/02/2014 17:52, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@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@denx.de>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---


Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

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 */