public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 2/2] mach-ux500: Add CG2900 devices
@ 2011-03-28  9:03 Par-Gunnar Hjalmdahl
  2011-03-28 13:00 ` Arnd Bergmann
  2011-03-28 14:40 ` Vitaly Wool
  0 siblings, 2 replies; 10+ messages in thread
From: Par-Gunnar Hjalmdahl @ 2011-03-28  9:03 UTC (permalink / raw)
  To: Greg Kroah-Hartman, devel, Linus Walleij
  Cc: linux-kernel, linux-bluetooth, Pavan Savoy, Vitaly Wool, Alan Cox,
	Arnd Bergmann, Marcel Holtmann, Lukasz Rymanowski, Linus Walleij,
	Par-Gunnar Hjalmdahl, Lee Jones, Mathieu Poirier,
	Par-Gunnar Hjalmdahl

This patch adds the board specific data for the CG2900 driver
on a UX500 board.

Signed-off-by: Par-Gunnar Hjalmdahl <par-gunnar.p.hjalmdahl@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/mach-ux500/board-mop500.c |    2 ++
 arch/arm/mach-ux500/board-mop500.h |    3 +++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index d8e5a52..16b7343 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -417,6 +417,8 @@ static void __init mop500_init_machine(void)
 
 	platform_device_register(&ab8500_device);
 
+	cg2900_init_board();
+
 	i2c_register_board_info(0, mop500_i2c0_devices,
 				ARRAY_SIZE(mop500_i2c0_devices));
 	i2c_register_board_info(2, mop500_i2c2_devices,
diff --git a/arch/arm/mach-ux500/board-mop500.h b/arch/arm/mach-ux500/board-mop500.h
index 56722f4..7c89993 100644
--- a/arch/arm/mach-ux500/board-mop500.h
+++ b/arch/arm/mach-ux500/board-mop500.h
@@ -39,4 +39,7 @@ void __init mop500_pins_init(void);
 void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info,
 		unsigned n);
 
+/* Function located in drivers/staging/cg2900 */
+extern void cg2900_init_board(void);
+
 #endif
-- 
1.7.4.1


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

end of thread, other threads:[~2011-03-29  6:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-28  9:03 [PATCH v2 2/2] mach-ux500: Add CG2900 devices Par-Gunnar Hjalmdahl
2011-03-28 13:00 ` Arnd Bergmann
2011-03-28 14:12   ` Greg KH
2011-03-28 14:29     ` Par-Gunnar HJALMDAHL
2011-03-28 14:39       ` Greg KH
2011-03-28 14:59         ` Arnd Bergmann
2011-03-28 14:47       ` Arnd Bergmann
2011-03-28 14:40 ` Vitaly Wool
2011-03-28 14:49   ` Arnd Bergmann
2011-03-29  6:20   ` Par-Gunnar HJALMDAHL

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