linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] video: i740fb: Make i740fb_init static
@ 2013-06-27  7:27 Sachin Kamat
  2013-06-27  8:48 ` Tomi Valkeinen
  0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2013-06-27  7:27 UTC (permalink / raw)
  To: linux-fbdev

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;
-- 
1.7.9.5


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

* Re: [PATCH 1/1] video: i740fb: Make i740fb_init static
  2013-06-27  7:27 [PATCH 1/1] video: i740fb: Make i740fb_init static Sachin Kamat
@ 2013-06-27  8:48 ` Tomi Valkeinen
  0 siblings, 0 replies; 2+ messages in thread
From: Tomi Valkeinen @ 2013-06-27  8:48 UTC (permalink / raw)
  To: linux-fbdev

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

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



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

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

end of thread, other threads:[~2013-06-27  8:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27  7:27 [PATCH 1/1] video: i740fb: Make i740fb_init static Sachin Kamat
2013-06-27  8:48 ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).