[PATCH] drivers: video: fb: make locally used fb_set_shadowfb() static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux