Message ID | 1372317317-4649-1-git-send-email-sachin.kamat@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 27/06/13 10:15, Sachin Kamat wrote: > i740fb_init is referenced only in this function. Make it static. > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> > Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> > Cc: Ondrej Zary <linux@rainbow-software.org> > --- > drivers/video/i740fb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/video/i740fb.c b/drivers/video/i740fb.c > index cfd0c52e..6c48388 100644 > --- a/drivers/video/i740fb.c > +++ b/drivers/video/i740fb.c > @@ -1302,7 +1302,7 @@ static int __init i740fb_setup(char *options) > } > #endif > > -int __init i740fb_init(void) > +static int __init i740fb_init(void) > { > #ifndef MODULE > char *option = NULL; > Thanks, applied to fbdev-3.11 branch. Tomi
diff --git a/drivers/video/i740fb.c b/drivers/video/i740fb.c index cfd0c52e..6c48388 100644 --- a/drivers/video/i740fb.c +++ b/drivers/video/i740fb.c @@ -1302,7 +1302,7 @@ static int __init i740fb_setup(char *options) } #endif -int __init i740fb_init(void) +static int __init i740fb_init(void) { #ifndef MODULE char *option = NULL;
i740fb_init is referenced only in this function. Make it static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Ondrej Zary <linux@rainbow-software.org> --- drivers/video/i740fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)