[PATCH 1/3] arm: mach-mvebu: fixup style error in system-controller

Ben Dooks ben.dooks at codethink.co.uk
Wed Jun 27 12:26:44 EDT 2012


Fixup the of_match_table indentation and missing , on the end.

Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
---
 arch/arm/mach-mvebu/system-controller.c |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/arch/arm/mach-mvebu/system-controller.c b/arch/arm/mach-mvebu/system-controller.c
index 14331ba..f39023b 100644
--- a/arch/arm/mach-mvebu/system-controller.c
+++ b/arch/arm/mach-mvebu/system-controller.c
@@ -53,10 +53,13 @@ const struct mvebu_system_controller orion_system_controller = {
 };
 
 static struct of_device_id of_system_controller_table[] = {
-	{.compatible = "marvell,orion-system-controller",
-	 .data = (void *) &orion_system_controller},
-	{.compatible = "marvell,armada-370-xp-system-controller",
-	 .data = (void *) &armada_370_xp_system_controller},
+	{
+		.compatible = "marvell,orion-system-controller",
+		.data = (void *) &orion_system_controller,
+	}, {
+		.compatible = "marvell,armada-370-xp-system-controller",
+		.data = (void *) &armada_370_xp_system_controller,
+	},
 	{ /* end of list */ },
 };
 
-- 
1.7.10




More information about the linux-arm-kernel mailing list