linux-mips
[Top] [All Lists]

[PATCH 09/35] MIPS: Cobalt: Cleanup files effected by firmware changes.

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH 09/35] MIPS: Cobalt: Cleanup files effected by firmware changes.
From: "Steven J. Hill" <sjhill@mips.com>
Date: Tue, 5 Jun 2012 16:19:13 -0500
Cc: "Steven J. Hill" <sjhill@mips.com>
In-reply-to: <1338931179-9611-1-git-send-email-sjhill@mips.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1338931179-9611-1-git-send-email-sjhill@mips.com>
Sender: linux-mips-bounce@linux-mips.org
From: "Steven J. Hill" <sjhill@mips.com>

Make headers consistent across the files and make changes based on
running the checkpatch script.

Signed-off-by: Steven J. Hill <sjhill@mips.com>
---
 arch/mips/cobalt/setup.c |   24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/arch/mips/cobalt/setup.c b/arch/mips/cobalt/setup.c
index 3fdd449..2565965 100644
--- a/arch/mips/cobalt/setup.c
+++ b/arch/mips/cobalt/setup.c
@@ -1,12 +1,13 @@
 /*
- * Setup pointers to hardware dependent routines.
- *
  * This file is subject to the terms and conditions of the GNU General Public
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
+ * Setup pointers to hardware dependent routines.
+ *
  * Copyright (C) 1996, 1997, 2004, 05 by Ralf Baechle (ralf@linux-mips.org)
  * Copyright (C) 2001, 2002, 2003 by Liam Davies (ldavies@agile.tv)
+ * Copyright (C) 2012 MIPS Technologies, Inc.  All rights reserved.
  *
  */
 #include <linux/init.h>
@@ -27,14 +28,14 @@ extern void cobalt_machine_halt(void);
 const char *get_system_type(void)
 {
        switch (cobalt_board_id) {
-               case COBALT_BRD_ID_QUBE1:
-                       return "Cobalt Qube";
-               case COBALT_BRD_ID_RAQ1:
-                       return "Cobalt RaQ";
-               case COBALT_BRD_ID_QUBE2:
-                       return "Cobalt Qube2";
-               case COBALT_BRD_ID_RAQ2:
-                       return "Cobalt RaQ2";
+       case COBALT_BRD_ID_QUBE1:
+               return "Cobalt Qube";
+       case COBALT_BRD_ID_RAQ1:
+               return "Cobalt RaQ";
+       case COBALT_BRD_ID_QUBE2:
+               return "Cobalt Qube2";
+       case COBALT_BRD_ID_RAQ2:
+               return "Cobalt RaQ2";
        }
        return "MIPS Cobalt";
 }
@@ -86,7 +87,8 @@ void __init plat_mem_setup(void)
 
        /* These resources have been reserved by VIA SuperI/O chip. */
        for (i = 0; i < ARRAY_SIZE(cobalt_reserved_resources); i++)
-               request_resource(&ioport_resource, cobalt_reserved_resources + 
i);
+               request_resource(&ioport_resource,
+                               cobalt_reserved_resources + i);
 }
 
 /*
-- 
1.7.10.3


<Prev in Thread] Current Thread [Next in Thread>