Thread (10 messages) flat view 10 messages, 4 authors, 2011-03-29
STALE5607d REVIEWED: 1 (0M)

1 review trailer.

[PATCH v2 2/2] mach-ux500: Add CG2900 devices

From: Par-Gunnar Hjalmdahl <hidden>
Date: 2011-03-28 09:03:57
Also in: lkml
Subsystem: arm port, arm/nomadik/ux500 architectures, the rest · Maintainers: Russell King, Linus Walleij, Linus Torvalds

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

Signed-off-by: Par-Gunnar Hjalmdahl <redacted>
Acked-by: Linus Walleij <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help