public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] video: omap: Staticise non-exported symbols
@ 2011-12-09  1:37 Axel Lin
  2011-12-09  1:39 ` [PATCH 2/2] Input: keyboard: " Axel Lin
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Axel Lin @ 2011-12-09  1:37 UTC (permalink / raw)
  To: linux-kernel
  Cc: Jonathan McDowell, Imre Deak, Cory Maccarrone, Laurent Gonzalez,
	Marek Vasut, Tomi Valkeinen, Florian Tobias Schandinat,
	linux-fbdev, linux-omap

These symbols are not used outside it's driver so no need to
make the symbol global.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/video/omap/lcd_ams_delta.c |    2 +-
 drivers/video/omap/lcd_h3.c        |    2 +-
 drivers/video/omap/lcd_htcherald.c |    2 +-
 drivers/video/omap/lcd_inn1510.c   |    2 +-
 drivers/video/omap/lcd_inn1610.c   |    2 +-
 drivers/video/omap/lcd_osk.c       |    2 +-
 drivers/video/omap/lcd_palmte.c    |    2 +-
 drivers/video/omap/lcd_palmtt.c    |    2 +-
 drivers/video/omap/lcd_palmz71.c   |    2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/video/omap/lcd_ams_delta.c b/drivers/video/omap/lcd_ams_delta.c
index 6978ae4..eb50a95 100644
--- a/drivers/video/omap/lcd_ams_delta.c
+++ b/drivers/video/omap/lcd_ams_delta.c
@@ -198,7 +198,7 @@ static int ams_delta_panel_resume(struct platform_device *pdev)
 	return 0;
 }
 
-struct platform_driver ams_delta_panel_driver = {
+static struct platform_driver ams_delta_panel_driver = {
 	.probe		= ams_delta_panel_probe,
 	.remove		= ams_delta_panel_remove,
 	.suspend	= ams_delta_panel_suspend,
diff --git a/drivers/video/omap/lcd_h3.c b/drivers/video/omap/lcd_h3.c
index 622ad83..baec34e 100644
--- a/drivers/video/omap/lcd_h3.c
+++ b/drivers/video/omap/lcd_h3.c
@@ -113,7 +113,7 @@ static int h3_panel_resume(struct platform_device *pdev)
 	return 0;
 }
 
-struct platform_driver h3_panel_driver = {
+static struct platform_driver h3_panel_driver = {
 	.probe		= h3_panel_probe,
 	.remove		= h3_panel_remove,
 	.suspend	= h3_panel_suspend,
diff --git a/drivers/video/omap/lcd_htcherald.c b/drivers/video/omap/lcd_htcherald.c
index 4802419..b1a022f 100644
--- a/drivers/video/omap/lcd_htcherald.c
+++ b/drivers/video/omap/lcd_htcherald.c
@@ -104,7 +104,7 @@ static int htcherald_panel_resume(struct platform_device *pdev)
 	return 0;
 }
 
-struct platform_driver htcherald_panel_driver = {
+static struct platform_driver htcherald_panel_driver = {
 	.probe		= htcherald_panel_probe,
 	.remove		= htcherald_panel_remove,
 	.suspend	= htcherald_panel_suspend,
diff --git a/drivers/video/omap/lcd_inn1510.c b/drivers/video/omap/lcd_inn1510.c
index 3271f16..d129946 100644
--- a/drivers/video/omap/lcd_inn1510.c
+++ b/drivers/video/omap/lcd_inn1510.c
@@ -98,7 +98,7 @@ static int innovator1510_panel_resume(struct platform_device *pdev)
 	return 0;
 }
 
-struct platform_driver innovator1510_panel_driver = {
+static struct platform_driver innovator1510_panel_driver = {
 	.probe		= innovator1510_panel_probe,
 	.remove		= innovator1510_panel_remove,
 	.suspend	= innovator1510_panel_suspend,
diff --git a/drivers/video/omap/lcd_inn1610.c b/drivers/video/omap/lcd_inn1610.c
index 12cc52a..a95756b 100644
--- a/drivers/video/omap/lcd_inn1610.c
+++ b/drivers/video/omap/lcd_inn1610.c
@@ -122,7 +122,7 @@ static int innovator1610_panel_resume(struct platform_device *pdev)
 	return 0;
 }
 
-struct platform_driver innovator1610_panel_driver = {
+static struct platform_driver innovator1610_panel_driver = {
 	.probe		= innovator1610_panel_probe,
 	.remove		= innovator1610_panel_remove,
 	.suspend	= innovator1610_panel_suspend,
diff --git a/drivers/video/omap/lcd_osk.c b/drivers/video/omap/lcd_osk.c
index 6f8d13c..b985997 100644
--- a/drivers/video/omap/lcd_osk.c
+++ b/drivers/video/omap/lcd_osk.c
@@ -116,7 +116,7 @@ static int osk_panel_resume(struct platform_device *pdev)
 	return 0;
 }
 
-struct platform_driver osk_panel_driver = {
+static struct platform_driver osk_panel_driver = {
 	.probe		= osk_panel_probe,
 	.remove		= osk_panel_remove,
 	.suspend	= osk_panel_suspend,
diff --git a/drivers/video/omap/lcd_palmte.c b/drivers/video/omap/lcd_palmte.c
index 4cb3017..d79f436 100644
--- a/drivers/video/omap/lcd_palmte.c
+++ b/drivers/video/omap/lcd_palmte.c
@@ -97,7 +97,7 @@ static int palmte_panel_resume(struct platform_device *pdev)
 	return 0;
 }
 
-struct platform_driver palmte_panel_driver = {
+static struct platform_driver palmte_panel_driver = {
 	.probe		= palmte_panel_probe,
 	.remove		= palmte_panel_remove,
 	.suspend	= palmte_panel_suspend,
diff --git a/drivers/video/omap/lcd_palmtt.c b/drivers/video/omap/lcd_palmtt.c
index b51b332..c2e96a7 100644
--- a/drivers/video/omap/lcd_palmtt.c
+++ b/drivers/video/omap/lcd_palmtt.c
@@ -102,7 +102,7 @@ static int palmtt_panel_resume(struct platform_device *pdev)
 	return 0;
 }
 
-struct platform_driver palmtt_panel_driver = {
+static struct platform_driver palmtt_panel_driver = {
 	.probe		= palmtt_panel_probe,
 	.remove		= palmtt_panel_remove,
 	.suspend	= palmtt_panel_suspend,
diff --git a/drivers/video/omap/lcd_palmz71.c b/drivers/video/omap/lcd_palmz71.c
index 2334e56..1ab4847 100644
--- a/drivers/video/omap/lcd_palmz71.c
+++ b/drivers/video/omap/lcd_palmz71.c
@@ -98,7 +98,7 @@ static int palmz71_panel_resume(struct platform_device *pdev)
 	return 0;
 }
 
-struct platform_driver palmz71_panel_driver = {
+static struct platform_driver palmz71_panel_driver = {
 	.probe		= palmz71_panel_probe,
 	.remove		= palmz71_panel_remove,
 	.suspend	= palmz71_panel_suspend,
-- 
1.7.5.4




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

* [PATCH 2/2] Input: keyboard: Staticise non-exported symbols
  2011-12-09  1:37 [PATCH 1/2] video: omap: Staticise non-exported symbols Axel Lin
@ 2011-12-09  1:39 ` Axel Lin
  2011-12-09  8:16   ` Michael Hennerich
                     ` (2 more replies)
  2011-12-09  8:23 ` [PATCH 1/2] video: omap: " Marek Vasut
  2011-12-12 10:45 ` Tomi Valkeinen
  2 siblings, 3 replies; 8+ messages in thread
From: Axel Lin @ 2011-12-09  1:39 UTC (permalink / raw)
  To: linux-kernel
  Cc: Michael Hennerich, Naveen Kumar G, Sundar Iyer, Dmitry Torokhov,
	linux-input

These symbols are not used outside it's driver so no need to
make the symbol global.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/input/keyboard/bf54x-keys.c         |    2 +-
 drivers/input/keyboard/nomadik-ske-keypad.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/keyboard/bf54x-keys.c b/drivers/input/keyboard/bf54x-keys.c
index 683e314..8eb9116 100644
--- a/drivers/input/keyboard/bf54x-keys.c
+++ b/drivers/input/keyboard/bf54x-keys.c
@@ -384,7 +384,7 @@ static int bfin_kpad_resume(struct platform_device *pdev)
 # define bfin_kpad_resume  NULL
 #endif
 
-struct platform_driver bfin_kpad_device_driver = {
+static struct platform_driver bfin_kpad_device_driver = {
 	.driver		= {
 		.name	= DRV_NAME,
 		.owner	= THIS_MODULE,
diff --git a/drivers/input/keyboard/nomadik-ske-keypad.c b/drivers/input/keyboard/nomadik-ske-keypad.c
index 6c4828f..5a71e55 100644
--- a/drivers/input/keyboard/nomadik-ske-keypad.c
+++ b/drivers/input/keyboard/nomadik-ske-keypad.c
@@ -379,7 +379,7 @@ static const struct dev_pm_ops ske_keypad_dev_pm_ops = {
 };
 #endif
 
-struct platform_driver ske_keypad_driver = {
+static struct platform_driver ske_keypad_driver = {
 	.driver = {
 		.name = "nmk-ske-keypad",
 		.owner  = THIS_MODULE,
-- 
1.7.5.4




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

* Re: [PATCH 2/2] Input: keyboard: Staticise non-exported symbols
  2011-12-09  1:39 ` [PATCH 2/2] Input: keyboard: " Axel Lin
@ 2011-12-09  8:16   ` Michael Hennerich
  2011-12-09 12:01   ` Linus Walleij
  2011-12-12  7:45   ` Dmitry Torokhov
  2 siblings, 0 replies; 8+ messages in thread
From: Michael Hennerich @ 2011-12-09  8:16 UTC (permalink / raw)
  To: Axel Lin
  Cc: linux-kernel@vger.kernel.org, Michael Hennerich, Naveen Kumar G,
	Sundar Iyer, Dmitry Torokhov, linux-input@vger.kernel.org,
	device-drivers-devel@blackfin.uclinux.org

On 12/09/2011 02:39 AM, Axel Lin wrote:
> These symbols are not used outside it's driver so no need to
> make the symbol global.
>
> Signed-off-by: Axel Lin<axel.lin@gmail.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
> ---
>   drivers/input/keyboard/bf54x-keys.c         |    2 +-
>   drivers/input/keyboard/nomadik-ske-keypad.c |    2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/input/keyboard/bf54x-keys.c b/drivers/input/keyboard/bf54x-keys.c
> index 683e314..8eb9116 100644
> --- a/drivers/input/keyboard/bf54x-keys.c
> +++ b/drivers/input/keyboard/bf54x-keys.c
> @@ -384,7 +384,7 @@ static int bfin_kpad_resume(struct platform_device *pdev)
>   # define bfin_kpad_resume  NULL
>   #endif
>
> -struct platform_driver bfin_kpad_device_driver = {
> +static struct platform_driver bfin_kpad_device_driver = {
>   	.driver		= {
>   		.name	= DRV_NAME,
>   		.owner	= THIS_MODULE,
> diff --git a/drivers/input/keyboard/nomadik-ske-keypad.c b/drivers/input/keyboard/nomadik-ske-keypad.c
> index 6c4828f..5a71e55 100644
> --- a/drivers/input/keyboard/nomadik-ske-keypad.c
> +++ b/drivers/input/keyboard/nomadik-ske-keypad.c
> @@ -379,7 +379,7 @@ static const struct dev_pm_ops ske_keypad_dev_pm_ops = {
>   };
>   #endif
>
> -struct platform_driver ske_keypad_driver = {
> +static struct platform_driver ske_keypad_driver = {
>   	.driver = {
>   		.name = "nmk-ske-keypad",
>   		.owner  = THIS_MODULE,


-- 
Greetings,
Michael

--
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368;
Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin,
Margaret Seif



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

* Re: [PATCH 1/2] video: omap: Staticise non-exported symbols
  2011-12-09  1:37 [PATCH 1/2] video: omap: Staticise non-exported symbols Axel Lin
  2011-12-09  1:39 ` [PATCH 2/2] Input: keyboard: " Axel Lin
@ 2011-12-09  8:23 ` Marek Vasut
  2011-12-09 21:59   ` Jonathan McDowell
  2011-12-12 10:45 ` Tomi Valkeinen
  2 siblings, 1 reply; 8+ messages in thread
From: Marek Vasut @ 2011-12-09  8:23 UTC (permalink / raw)
  To: Axel Lin
  Cc: linux-kernel, Jonathan McDowell, Imre Deak, Cory Maccarrone,
	Laurent Gonzalez, Tomi Valkeinen, Florian Tobias Schandinat,
	linux-fbdev, linux-omap

> These symbols are not used outside it's driver so no need to
> make the symbol global.
> 
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
>  drivers/video/omap/lcd_ams_delta.c |    2 +-
>  drivers/video/omap/lcd_h3.c        |    2 +-
>  drivers/video/omap/lcd_htcherald.c |    2 +-
>  drivers/video/omap/lcd_inn1510.c   |    2 +-
>  drivers/video/omap/lcd_inn1610.c   |    2 +-
>  drivers/video/omap/lcd_osk.c       |    2 +-
>  drivers/video/omap/lcd_palmte.c    |    2 +-
>  drivers/video/omap/lcd_palmtt.c    |    2 +-
>  drivers/video/omap/lcd_palmz71.c   |    2 +-
>  9 files changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/drivers/video/omap/lcd_ams_delta.c
> b/drivers/video/omap/lcd_ams_delta.c index 6978ae4..eb50a95 100644
> --- a/drivers/video/omap/lcd_ams_delta.c
> +++ b/drivers/video/omap/lcd_ams_delta.c
> @@ -198,7 +198,7 @@ static int ams_delta_panel_resume(struct
> platform_device *pdev) return 0;
>  }
> 
> -struct platform_driver ams_delta_panel_driver = {
> +static struct platform_driver ams_delta_panel_driver = {
>  	.probe		= ams_delta_panel_probe,
>  	.remove		= ams_delta_panel_remove,
>  	.suspend	= ams_delta_panel_suspend,
> diff --git a/drivers/video/omap/lcd_h3.c b/drivers/video/omap/lcd_h3.c
> index 622ad83..baec34e 100644
> --- a/drivers/video/omap/lcd_h3.c
> +++ b/drivers/video/omap/lcd_h3.c
> @@ -113,7 +113,7 @@ static int h3_panel_resume(struct platform_device
> *pdev) return 0;
>  }
> 
> -struct platform_driver h3_panel_driver = {
> +static struct platform_driver h3_panel_driver = {
>  	.probe		= h3_panel_probe,
>  	.remove		= h3_panel_remove,
>  	.suspend	= h3_panel_suspend,
> diff --git a/drivers/video/omap/lcd_htcherald.c
> b/drivers/video/omap/lcd_htcherald.c index 4802419..b1a022f 100644
> --- a/drivers/video/omap/lcd_htcherald.c
> +++ b/drivers/video/omap/lcd_htcherald.c
> @@ -104,7 +104,7 @@ static int htcherald_panel_resume(struct
> platform_device *pdev) return 0;
>  }
> 
> -struct platform_driver htcherald_panel_driver = {
> +static struct platform_driver htcherald_panel_driver = {
>  	.probe		= htcherald_panel_probe,
>  	.remove		= htcherald_panel_remove,
>  	.suspend	= htcherald_panel_suspend,
> diff --git a/drivers/video/omap/lcd_inn1510.c
> b/drivers/video/omap/lcd_inn1510.c index 3271f16..d129946 100644
> --- a/drivers/video/omap/lcd_inn1510.c
> +++ b/drivers/video/omap/lcd_inn1510.c
> @@ -98,7 +98,7 @@ static int innovator1510_panel_resume(struct
> platform_device *pdev) return 0;
>  }
> 
> -struct platform_driver innovator1510_panel_driver = {
> +static struct platform_driver innovator1510_panel_driver = {
>  	.probe		= innovator1510_panel_probe,
>  	.remove		= innovator1510_panel_remove,
>  	.suspend	= innovator1510_panel_suspend,
> diff --git a/drivers/video/omap/lcd_inn1610.c
> b/drivers/video/omap/lcd_inn1610.c index 12cc52a..a95756b 100644
> --- a/drivers/video/omap/lcd_inn1610.c
> +++ b/drivers/video/omap/lcd_inn1610.c
> @@ -122,7 +122,7 @@ static int innovator1610_panel_resume(struct
> platform_device *pdev) return 0;
>  }
> 
> -struct platform_driver innovator1610_panel_driver = {
> +static struct platform_driver innovator1610_panel_driver = {
>  	.probe		= innovator1610_panel_probe,
>  	.remove		= innovator1610_panel_remove,
>  	.suspend	= innovator1610_panel_suspend,
> diff --git a/drivers/video/omap/lcd_osk.c b/drivers/video/omap/lcd_osk.c
> index 6f8d13c..b985997 100644
> --- a/drivers/video/omap/lcd_osk.c
> +++ b/drivers/video/omap/lcd_osk.c
> @@ -116,7 +116,7 @@ static int osk_panel_resume(struct platform_device
> *pdev) return 0;
>  }
> 
> -struct platform_driver osk_panel_driver = {
> +static struct platform_driver osk_panel_driver = {
>  	.probe		= osk_panel_probe,
>  	.remove		= osk_panel_remove,
>  	.suspend	= osk_panel_suspend,
> diff --git a/drivers/video/omap/lcd_palmte.c
> b/drivers/video/omap/lcd_palmte.c index 4cb3017..d79f436 100644
> --- a/drivers/video/omap/lcd_palmte.c
> +++ b/drivers/video/omap/lcd_palmte.c
> @@ -97,7 +97,7 @@ static int palmte_panel_resume(struct platform_device
> *pdev) return 0;
>  }
> 
> -struct platform_driver palmte_panel_driver = {
> +static struct platform_driver palmte_panel_driver = {
>  	.probe		= palmte_panel_probe,
>  	.remove		= palmte_panel_remove,
>  	.suspend	= palmte_panel_suspend,
> diff --git a/drivers/video/omap/lcd_palmtt.c
> b/drivers/video/omap/lcd_palmtt.c index b51b332..c2e96a7 100644
> --- a/drivers/video/omap/lcd_palmtt.c
> +++ b/drivers/video/omap/lcd_palmtt.c
> @@ -102,7 +102,7 @@ static int palmtt_panel_resume(struct platform_device
> *pdev) return 0;
>  }
> 
> -struct platform_driver palmtt_panel_driver = {
> +static struct platform_driver palmtt_panel_driver = {
>  	.probe		= palmtt_panel_probe,
>  	.remove		= palmtt_panel_remove,
>  	.suspend	= palmtt_panel_suspend,
> diff --git a/drivers/video/omap/lcd_palmz71.c
> b/drivers/video/omap/lcd_palmz71.c index 2334e56..1ab4847 100644
> --- a/drivers/video/omap/lcd_palmz71.c
> +++ b/drivers/video/omap/lcd_palmz71.c
> @@ -98,7 +98,7 @@ static int palmz71_panel_resume(struct platform_device
> *pdev) return 0;
>  }
> 
> -struct platform_driver palmz71_panel_driver = {
> +static struct platform_driver palmz71_panel_driver = {
>  	.probe		= palmz71_panel_probe,
>  	.remove		= palmz71_panel_remove,
>  	.suspend	= palmz71_panel_suspend,

I can speak for palmtt and palmz71,

Acked-by: Marek Vasut <marek.vasut@gmail.com>

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

* Re: [PATCH 2/2] Input: keyboard: Staticise non-exported symbols
  2011-12-09  1:39 ` [PATCH 2/2] Input: keyboard: " Axel Lin
  2011-12-09  8:16   ` Michael Hennerich
@ 2011-12-09 12:01   ` Linus Walleij
  2011-12-12  7:45   ` Dmitry Torokhov
  2 siblings, 0 replies; 8+ messages in thread
From: Linus Walleij @ 2011-12-09 12:01 UTC (permalink / raw)
  To: Axel Lin
  Cc: linux-kernel, Michael Hennerich, Naveen Kumar G, Sundar Iyer,
	Dmitry Torokhov, linux-input

On Fri, Dec 9, 2011 at 2:39 AM, Axel Lin <axel.lin@gmail.com> wrote:

> These symbols are not used outside it's driver so no need to
> make the symbol global.
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>

Acked-by: Linus Walleij <linus.walleij@linaro.org>
For SKE.

Linus Walleij

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

* Re: [PATCH 1/2] video: omap: Staticise non-exported symbols
  2011-12-09  8:23 ` [PATCH 1/2] video: omap: " Marek Vasut
@ 2011-12-09 21:59   ` Jonathan McDowell
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan McDowell @ 2011-12-09 21:59 UTC (permalink / raw)
  To: Marek Vasut
  Cc: Axel Lin, linux-kernel, Imre Deak, Cory Maccarrone,
	Laurent Gonzalez, Tomi Valkeinen, Florian Tobias Schandinat,
	linux-fbdev, linux-omap

On Fri, Dec 09, 2011 at 09:23:46AM +0100, Marek Vasut wrote:
> > These symbols are not used outside it's driver so no need to
> > make the symbol global.
> > 
> > Signed-off-by: Axel Lin <axel.lin@gmail.com>
> > ---
> >  drivers/video/omap/lcd_ams_delta.c |    2 +-
> >  drivers/video/omap/lcd_h3.c        |    2 +-
> >  drivers/video/omap/lcd_htcherald.c |    2 +-
> >  drivers/video/omap/lcd_inn1510.c   |    2 +-
> >  drivers/video/omap/lcd_inn1610.c   |    2 +-
> >  drivers/video/omap/lcd_osk.c       |    2 +-
> >  drivers/video/omap/lcd_palmte.c    |    2 +-
> >  drivers/video/omap/lcd_palmtt.c    |    2 +-
> >  drivers/video/omap/lcd_palmz71.c   |    2 +-
> >  9 files changed, 9 insertions(+), 9 deletions(-)
> > 
> > diff --git a/drivers/video/omap/lcd_ams_delta.c
> > b/drivers/video/omap/lcd_ams_delta.c index 6978ae4..eb50a95 100644
> > --- a/drivers/video/omap/lcd_ams_delta.c
> > +++ b/drivers/video/omap/lcd_ams_delta.c
> > @@ -198,7 +198,7 @@ static int ams_delta_panel_resume(struct
> > platform_device *pdev) return 0;
> >  }
> > 
> > -struct platform_driver ams_delta_panel_driver = {
> > +static struct platform_driver ams_delta_panel_driver = {
> >  	.probe		= ams_delta_panel_probe,
> >  	.remove		= ams_delta_panel_remove,
> >  	.suspend	= ams_delta_panel_suspend,
> > diff --git a/drivers/video/omap/lcd_h3.c b/drivers/video/omap/lcd_h3.c
> > index 622ad83..baec34e 100644
> > --- a/drivers/video/omap/lcd_h3.c
> > +++ b/drivers/video/omap/lcd_h3.c
> > @@ -113,7 +113,7 @@ static int h3_panel_resume(struct platform_device
> > *pdev) return 0;
> >  }
> > 
> > -struct platform_driver h3_panel_driver = {
> > +static struct platform_driver h3_panel_driver = {
> >  	.probe		= h3_panel_probe,
> >  	.remove		= h3_panel_remove,
> >  	.suspend	= h3_panel_suspend,
> > diff --git a/drivers/video/omap/lcd_htcherald.c
> > b/drivers/video/omap/lcd_htcherald.c index 4802419..b1a022f 100644
> > --- a/drivers/video/omap/lcd_htcherald.c
> > +++ b/drivers/video/omap/lcd_htcherald.c
> > @@ -104,7 +104,7 @@ static int htcherald_panel_resume(struct
> > platform_device *pdev) return 0;
> >  }
> > 
> > -struct platform_driver htcherald_panel_driver = {
> > +static struct platform_driver htcherald_panel_driver = {
> >  	.probe		= htcherald_panel_probe,
> >  	.remove		= htcherald_panel_remove,
> >  	.suspend	= htcherald_panel_suspend,
> > diff --git a/drivers/video/omap/lcd_inn1510.c
> > b/drivers/video/omap/lcd_inn1510.c index 3271f16..d129946 100644
> > --- a/drivers/video/omap/lcd_inn1510.c
> > +++ b/drivers/video/omap/lcd_inn1510.c
> > @@ -98,7 +98,7 @@ static int innovator1510_panel_resume(struct
> > platform_device *pdev) return 0;
> >  }
> > 
> > -struct platform_driver innovator1510_panel_driver = {
> > +static struct platform_driver innovator1510_panel_driver = {
> >  	.probe		= innovator1510_panel_probe,
> >  	.remove		= innovator1510_panel_remove,
> >  	.suspend	= innovator1510_panel_suspend,
> > diff --git a/drivers/video/omap/lcd_inn1610.c
> > b/drivers/video/omap/lcd_inn1610.c index 12cc52a..a95756b 100644
> > --- a/drivers/video/omap/lcd_inn1610.c
> > +++ b/drivers/video/omap/lcd_inn1610.c
> > @@ -122,7 +122,7 @@ static int innovator1610_panel_resume(struct
> > platform_device *pdev) return 0;
> >  }
> > 
> > -struct platform_driver innovator1610_panel_driver = {
> > +static struct platform_driver innovator1610_panel_driver = {
> >  	.probe		= innovator1610_panel_probe,
> >  	.remove		= innovator1610_panel_remove,
> >  	.suspend	= innovator1610_panel_suspend,
> > diff --git a/drivers/video/omap/lcd_osk.c b/drivers/video/omap/lcd_osk.c
> > index 6f8d13c..b985997 100644
> > --- a/drivers/video/omap/lcd_osk.c
> > +++ b/drivers/video/omap/lcd_osk.c
> > @@ -116,7 +116,7 @@ static int osk_panel_resume(struct platform_device
> > *pdev) return 0;
> >  }
> > 
> > -struct platform_driver osk_panel_driver = {
> > +static struct platform_driver osk_panel_driver = {
> >  	.probe		= osk_panel_probe,
> >  	.remove		= osk_panel_remove,
> >  	.suspend	= osk_panel_suspend,
> > diff --git a/drivers/video/omap/lcd_palmte.c
> > b/drivers/video/omap/lcd_palmte.c index 4cb3017..d79f436 100644
> > --- a/drivers/video/omap/lcd_palmte.c
> > +++ b/drivers/video/omap/lcd_palmte.c
> > @@ -97,7 +97,7 @@ static int palmte_panel_resume(struct platform_device
> > *pdev) return 0;
> >  }
> > 
> > -struct platform_driver palmte_panel_driver = {
> > +static struct platform_driver palmte_panel_driver = {
> >  	.probe		= palmte_panel_probe,
> >  	.remove		= palmte_panel_remove,
> >  	.suspend	= palmte_panel_suspend,
> > diff --git a/drivers/video/omap/lcd_palmtt.c
> > b/drivers/video/omap/lcd_palmtt.c index b51b332..c2e96a7 100644
> > --- a/drivers/video/omap/lcd_palmtt.c
> > +++ b/drivers/video/omap/lcd_palmtt.c
> > @@ -102,7 +102,7 @@ static int palmtt_panel_resume(struct platform_device
> > *pdev) return 0;
> >  }
> > 
> > -struct platform_driver palmtt_panel_driver = {
> > +static struct platform_driver palmtt_panel_driver = {
> >  	.probe		= palmtt_panel_probe,
> >  	.remove		= palmtt_panel_remove,
> >  	.suspend	= palmtt_panel_suspend,
> > diff --git a/drivers/video/omap/lcd_palmz71.c
> > b/drivers/video/omap/lcd_palmz71.c index 2334e56..1ab4847 100644
> > --- a/drivers/video/omap/lcd_palmz71.c
> > +++ b/drivers/video/omap/lcd_palmz71.c
> > @@ -98,7 +98,7 @@ static int palmz71_panel_resume(struct platform_device
> > *pdev) return 0;
> >  }
> > 
> > -struct platform_driver palmz71_panel_driver = {
> > +static struct platform_driver palmz71_panel_driver = {
> >  	.probe		= palmz71_panel_probe,
> >  	.remove		= palmz71_panel_remove,
> >  	.suspend	= palmz71_panel_suspend,
> 
> I can speak for palmtt and palmz71,
> 
> Acked-by: Marek Vasut <marek.vasut@gmail.com>

Likewise, for ams-delta,

Acked-By: Jonathan McDowell <noodles@earth.li>

J.

-- 
Generally, all generalizations are false..
This .sig brought to you by the letter Z and the number 26
Product of the Republic of HuggieTag

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

* Re: [PATCH 2/2] Input: keyboard: Staticise non-exported symbols
  2011-12-09  1:39 ` [PATCH 2/2] Input: keyboard: " Axel Lin
  2011-12-09  8:16   ` Michael Hennerich
  2011-12-09 12:01   ` Linus Walleij
@ 2011-12-12  7:45   ` Dmitry Torokhov
  2 siblings, 0 replies; 8+ messages in thread
From: Dmitry Torokhov @ 2011-12-12  7:45 UTC (permalink / raw)
  To: Axel Lin
  Cc: linux-kernel, Michael Hennerich, Naveen Kumar G, Sundar Iyer,
	linux-input

On Fri, Dec 09, 2011 at 09:39:12AM +0800, Axel Lin wrote:
> These symbols are not used outside it's driver so no need to
> make the symbol global.
> 

Applied, thank you Axel.

-- 
Dmitry

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

* Re: [PATCH 1/2] video: omap: Staticise non-exported symbols
  2011-12-09  1:37 [PATCH 1/2] video: omap: Staticise non-exported symbols Axel Lin
  2011-12-09  1:39 ` [PATCH 2/2] Input: keyboard: " Axel Lin
  2011-12-09  8:23 ` [PATCH 1/2] video: omap: " Marek Vasut
@ 2011-12-12 10:45 ` Tomi Valkeinen
  2 siblings, 0 replies; 8+ messages in thread
From: Tomi Valkeinen @ 2011-12-12 10:45 UTC (permalink / raw)
  To: Axel Lin
  Cc: linux-kernel, Jonathan McDowell, Imre Deak, Cory Maccarrone,
	Laurent Gonzalez, Marek Vasut, Florian Tobias Schandinat,
	linux-fbdev, linux-omap

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

On Fri, 2011-12-09 at 09:37 +0800, Axel Lin wrote:
> These symbols are not used outside it's driver so no need to
> make the symbol global.
> 
> Signed-off-by: Axel Lin <axel.lin@gmail.com>

Thanks, applied to DSS tree.

 Tomi


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2011-12-12 10:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-09  1:37 [PATCH 1/2] video: omap: Staticise non-exported symbols Axel Lin
2011-12-09  1:39 ` [PATCH 2/2] Input: keyboard: " Axel Lin
2011-12-09  8:16   ` Michael Hennerich
2011-12-09 12:01   ` Linus Walleij
2011-12-12  7:45   ` Dmitry Torokhov
2011-12-09  8:23 ` [PATCH 1/2] video: omap: " Marek Vasut
2011-12-09 21:59   ` Jonathan McDowell
2011-12-12 10:45 ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox