drivers: video: fb: make locally used fb_set_shadowfb() static
PATCH 1/1 drivers: video: fb: make locally used fb_set_shadowfb() static
The patch fixes this compiler's warning:
drivers/video/fb.c:233:5: warning: no previous prototype for 'fb_set_shadowfb' [-Wmissing-prototypes]
int fb_set_shadowfb(struct param_d *p, void *priv)
^
Signed-off-by Antony Pavlov <[email protected]>
--- drivers/video/fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/fb.c +1 -1
@@ -230,7 +230,7 @@ void *fb_get_screen_base(struct fb_info *info) info->screen_base_shadow : info->screen_base; } -int fb_set_shadowfb (struct param_d *p,void *priv) +static int fb_set_shadowfb (struct param_d *p,void *priv) {struct fb_info *info = priv;
Signature · 7 lines
2.7.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 11 lines · Antony Pavlov
The patch fixes this compiler's warning:
drivers/video/fb.c:233:5: warning: no previous prototype for 'fb_set_shadowfb' [-Wmissing-prototypes]
intfb_set_shadowfb(struct param_d *p, void *priv)
^Signed-off-by Antony Pavlov <[email protected]>--- drivers/video/fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox