diff mbox

[1/1] video: i740fb: Make i740fb_init static

Message ID 1372317317-4649-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sachin Kamat June 27, 2013, 7:15 a.m. UTC
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(-)

Comments

Tomi Valkeinen June 27, 2013, 8:48 a.m. UTC | #1
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 mbox

Patch

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;