mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] drivers: video: fb: make locally used fb_set_shadowfb() static
@ 2016-02-04  9:11 Antony Pavlov
  2016-02-08  7:29 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2016-02-04  9:11 UTC (permalink / raw)
  To: barebox

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 <antonynpavlov@gmail.com>
---
 drivers/video/fb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/fb.c b/drivers/video/fb.c
index d159d60..09bba00 100644
--- a/drivers/video/fb.c
+++ b/drivers/video/fb.c
@@ -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;
 
-- 
2.7.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] drivers: video: fb: make locally used fb_set_shadowfb() static
  2016-02-04  9:11 [PATCH] drivers: video: fb: make locally used fb_set_shadowfb() static Antony Pavlov
@ 2016-02-08  7:29 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2016-02-08  7:29 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

On Thu, Feb 04, 2016 at 12:11:43PM +0300, Antony Pavlov wrote:
> 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 <antonynpavlov@gmail.com>
> ---
>  drivers/video/fb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-08  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-04  9:11 [PATCH] drivers: video: fb: make locally used fb_set_shadowfb() static Antony Pavlov
2016-02-08  7:29 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox