From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH] drivers: video: fb: make locally used fb_set_shadowfb() static
Date: Thu, 4 Feb 2016 12:11:43 +0300 [thread overview]
Message-ID: <1454577103-30998-1-git-send-email-antonynpavlov@gmail.com> (raw)
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
next reply other threads:[~2016-02-04 9:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-04 9:11 Antony Pavlov [this message]
2016-02-08 7:29 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1454577103-30998-1-git-send-email-antonynpavlov@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox