ARM: 6450/1: Fix checkpatch.pl issues in arch/arm/mach-sa1100/cpu-sa1100.c.

This patch fixes checkpatch.pl issues in arch/arm/mach-sa1100/cpu-sa1100.c.

Signed-off-by: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Marcelo Roberto Jimenez
2010-10-18 22:31:26 +01:00
committed by Russell King
parent ff8b16d7e1
commit d03f322c41

View File

@@ -94,20 +94,19 @@
#include "generic.h" #include "generic.h"
typedef struct { struct sa1100_dram_regs {
int speed; int speed;
u32 mdcnfg; u32 mdcnfg;
u32 mdcas0; u32 mdcas0;
u32 mdcas1; u32 mdcas1;
u32 mdcas2; u32 mdcas2;
} sa1100_dram_regs_t; };
static struct cpufreq_driver sa1100_driver; static struct cpufreq_driver sa1100_driver;
static sa1100_dram_regs_t sa1100_dram_settings[] = static struct sa1100_dram_regs sa1100_dram_settings[] = {
{ /*speed, mdcnfg, mdcas0, mdcas1, mdcas2, clock freq */
/* speed, mdcnfg, mdcas0, mdcas1, mdcas2 clock frequency */
{ 59000, 0x00dc88a3, 0xcccccccf, 0xfffffffc, 0xffffffff},/* 59.0 MHz */ { 59000, 0x00dc88a3, 0xcccccccf, 0xfffffffc, 0xffffffff},/* 59.0 MHz */
{ 73700, 0x011490a3, 0xcccccccf, 0xfffffffc, 0xffffffff},/* 73.7 MHz */ { 73700, 0x011490a3, 0xcccccccf, 0xfffffffc, 0xffffffff},/* 73.7 MHz */
{ 88500, 0x014e90a3, 0xcccccccf, 0xfffffffc, 0xffffffff},/* 88.5 MHz */ { 88500, 0x014e90a3, 0xcccccccf, 0xfffffffc, 0xffffffff},/* 88.5 MHz */
@@ -129,7 +128,7 @@ static sa1100_dram_regs_t sa1100_dram_settings[] =
static void sa1100_update_dram_timings(int current_speed, int new_speed) static void sa1100_update_dram_timings(int current_speed, int new_speed)
{ {
sa1100_dram_regs_t *settings = sa1100_dram_settings; struct sa1100_dram_regs *settings = sa1100_dram_settings;
/* find speed */ /* find speed */
while (settings->speed != 0) { while (settings->speed != 0) {