public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: mach-shmobile: make a struct in board-ap4evb.c static
@ 2011-06-29 10:13 Guennadi Liakhovetski
  2011-06-30  5:39 ` Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Guennadi Liakhovetski @ 2011-06-29 10:13 UTC (permalink / raw)
  To: linux-sh

struct soc_camera_link imx074_link in board-ap4evb.c doesn't have
to be global.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---
 arch/arm/mach-shmobile/board-ap4evb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index 08acb6e..a371703 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
@@ -858,7 +858,7 @@ static struct i2c_board_info imx074_info = {
 	I2C_BOARD_INFO("imx074", 0x1a),
 };
 
-struct soc_camera_link imx074_link = {
+static struct soc_camera_link imx074_link = {
 	.bus_id		= 0,
 	.board_info	= &imx074_info,
 	.i2c_adapter_id	= 0,
-- 
1.7.2.5


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

* Re: [PATCH] ARM: mach-shmobile: make a struct in board-ap4evb.c static
  2011-06-29 10:13 [PATCH] ARM: mach-shmobile: make a struct in board-ap4evb.c static Guennadi Liakhovetski
@ 2011-06-30  5:39 ` Paul Mundt
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2011-06-30  5:39 UTC (permalink / raw)
  To: linux-sh

On Wed, Jun 29, 2011 at 12:13:04PM +0200, Guennadi Liakhovetski wrote:
> struct soc_camera_link imx074_link in board-ap4evb.c doesn't have
> to be global.
> 
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>

Applied, thanks.

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

end of thread, other threads:[~2011-06-30  5:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-29 10:13 [PATCH] ARM: mach-shmobile: make a struct in board-ap4evb.c static Guennadi Liakhovetski
2011-06-30  5:39 ` Paul Mundt

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