aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-imx/dma-v1.c3
-rw-r--r--arch/arm/mach-msm/acpuclock-arm11.c4
-rw-r--r--arch/arm/mach-omap2/dpll3xxx.c2
-rw-r--r--arch/arm/mach-omap2/sleep34xx.S2
-rw-r--r--arch/arm/mach-sa1100/collie.c2
-rw-r--r--arch/arm/mach-u300/core.c7
-rw-r--r--arch/arm/mach-u300/gpio.c2
-rw-r--r--arch/arm/plat-s3c24xx/clock.c2
-rw-r--r--arch/arm/plat-samsung/clock.c2
-rw-r--r--arch/arm/plat-spear/padmux.c2
10 files changed, 10 insertions, 18 deletions
diff --git a/arch/arm/mach-imx/dma-v1.c b/arch/arm/mach-imx/dma-v1.c
index fd1d9197d06e..3e8c47c63bac 100644
--- a/arch/arm/mach-imx/dma-v1.c
+++ b/arch/arm/mach-imx/dma-v1.c
@@ -310,7 +310,7 @@ imx_dma_setup_sg(int channel,
310 imxdma->resbytes = dma_length; 310 imxdma->resbytes = dma_length;
311 311
312 if (!sg || !sgcount) { 312 if (!sg || !sgcount) {
313 printk(KERN_ERR "imxdma%d: imx_dma_setup_sg epty sg list\n", 313 printk(KERN_ERR "imxdma%d: imx_dma_setup_sg empty sg list\n",
314 channel); 314 channel);
315 return -EINVAL; 315 return -EINVAL;
316 } 316 }
@@ -760,7 +760,6 @@ EXPORT_SYMBOL(imx_dma_free);
760 * @name: the driver/caller own non-%NULL identification 760 * @name: the driver/caller own non-%NULL identification
761 * 761 *
762 * This function tries to find a free channel in the specified priority group 762 * This function tries to find a free channel in the specified priority group
763 * This function tries to find a free channel in the specified priority group
764 * if the priority cannot be achieved it tries to look for free channel 763 * if the priority cannot be achieved it tries to look for free channel
765 * in the higher and then even lower priority groups. 764 * in the higher and then even lower priority groups.
766 * 765 *
diff --git a/arch/arm/mach-msm/acpuclock-arm11.c b/arch/arm/mach-msm/acpuclock-arm11.c
index af5e85b91d02..f060a3959a75 100644
--- a/arch/arm/mach-msm/acpuclock-arm11.c
+++ b/arch/arm/mach-msm/acpuclock-arm11.c
@@ -98,7 +98,7 @@ struct clkctl_acpu_speed {
98 98
99/* 99/*
100 * ACPU speed table. Complete table is shown but certain speeds are commented 100 * ACPU speed table. Complete table is shown but certain speeds are commented
101 * out to optimized speed switching. Initalize loops_per_jiffy to 0. 101 * out to optimized speed switching. Initialize loops_per_jiffy to 0.
102 * 102 *
103 * Table stepping up/down is optimized for 256mhz jumps while staying on the 103 * Table stepping up/down is optimized for 256mhz jumps while staying on the
104 * same PLL. 104 * same PLL.
@@ -494,7 +494,7 @@ uint32_t acpuclk_get_switch_time(void)
494 * Clock driver initialization 494 * Clock driver initialization
495 *---------------------------------------------------------------------------*/ 495 *---------------------------------------------------------------------------*/
496 496
497/* Initalize the lpj field in the acpu_freq_tbl. */ 497/* Initialize the lpj field in the acpu_freq_tbl. */
498static void __init lpj_init(void) 498static void __init lpj_init(void)
499{ 499{
500 int i; 500 int i;
diff --git a/arch/arm/mach-omap2/dpll3xxx.c b/arch/arm/mach-omap2/dpll3xxx.c
index b32ccd954a1b..ed8d330522f1 100644
--- a/arch/arm/mach-omap2/dpll3xxx.c
+++ b/arch/arm/mach-omap2/dpll3xxx.c
@@ -463,7 +463,7 @@ int omap3_noncore_dpll_set_rate(struct clk *clk, unsigned long rate)
463 } 463 }
464 if (!ret) { 464 if (!ret) {
465 /* 465 /*
466 * Switch the parent clock in the heirarchy, and make sure 466 * Switch the parent clock in the hierarchy, and make sure
467 * that the new parent's usecount is correct. Note: we 467 * that the new parent's usecount is correct. Note: we
468 * enable the new parent before disabling the old to avoid 468 * enable the new parent before disabling the old to avoid
469 * any unnecessary hardware disable->enable transitions. 469 * any unnecessary hardware disable->enable transitions.
diff --git a/arch/arm/mach-omap2/sleep34xx.S b/arch/arm/mach-omap2/sleep34xx.S
index d522cd70bf53..ba53191ae4c5 100644
--- a/arch/arm/mach-omap2/sleep34xx.S
+++ b/arch/arm/mach-omap2/sleep34xx.S
@@ -60,7 +60,7 @@
60#define SDRC_DLLA_CTRL_V OMAP34XX_SDRC_REGADDR(SDRC_DLLA_CTRL) 60#define SDRC_DLLA_CTRL_V OMAP34XX_SDRC_REGADDR(SDRC_DLLA_CTRL)
61 61
62 .text 62 .text
63/* Function to aquire the semaphore in scratchpad */ 63/* Function to acquire the semaphore in scratchpad */
64ENTRY(lock_scratchpad_sem) 64ENTRY(lock_scratchpad_sem)
65 stmfd sp!, {lr} @ save registers on stack 65 stmfd sp!, {lr} @ save registers on stack
66wait_sem: 66wait_sem:
diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c
index 5d5f330c5d94..16e682d5dbb7 100644
--- a/arch/arm/mach-sa1100/collie.c
+++ b/arch/arm/mach-sa1100/collie.c
@@ -11,7 +11,7 @@
11 * published by the Free Software Foundation. 11 * published by the Free Software Foundation.
12 * 12 *
13 * ChangeLog: 13 * ChangeLog:
14 * 2006 Pavel Machek <pavel@suse.cz> 14 * 2006 Pavel Machek <pavel@ucw.cz>
15 * 03-06-2004 John Lenz <lenz@cs.wisc.edu> 15 * 03-06-2004 John Lenz <lenz@cs.wisc.edu>
16 * 06-04-2002 Chris Larson <kergoth@digitalnemesis.net> 16 * 06-04-2002 Chris Larson <kergoth@digitalnemesis.net>
17 * 04-16-2001 Lineo Japan,Inc. ... 17 * 04-16-2001 Lineo Japan,Inc. ...
diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c
index 5f34eb674d68..653b3e0ab7ba 100644
--- a/arch/arm/mach-u300/core.c
+++ b/arch/arm/mach-u300/core.c
@@ -1561,13 +1561,6 @@ static void __init u300_init_check_chip(void)
1561 printk(KERN_INFO "Initializing U300 system on %s baseband chip " \ 1561 printk(KERN_INFO "Initializing U300 system on %s baseband chip " \
1562 "(chip ID 0x%04x)\n", chipname, val); 1562 "(chip ID 0x%04x)\n", chipname, val);
1563 1563
1564#ifdef CONFIG_MACH_U300_BS26
1565 if ((val & 0xFF00U) != 0xc800) {
1566 printk(KERN_ERR "Platform configured for BS25/BS26 " \
1567 "with DB3150 but %s detected, expect problems!",
1568 chipname);
1569 }
1570#endif
1571#ifdef CONFIG_MACH_U300_BS330 1564#ifdef CONFIG_MACH_U300_BS330
1572 if ((val & 0xFF00U) != 0xd800) { 1565 if ((val & 0xFF00U) != 0xd800) {
1573 printk(KERN_ERR "Platform configured for BS330 " \ 1566 printk(KERN_ERR "Platform configured for BS330 " \
diff --git a/arch/arm/mach-u300/gpio.c b/arch/arm/mach-u300/gpio.c
index 5f61fd45a0c8..d92790140fe5 100644
--- a/arch/arm/mach-u300/gpio.c
+++ b/arch/arm/mach-u300/gpio.c
@@ -523,7 +523,7 @@ static void gpio_set_initial_values(void)
523 523
524 /* 524 /*
525 * Put all pins that are set to either 'GPIO_OUT' or 'GPIO_NOT_USED' 525 * Put all pins that are set to either 'GPIO_OUT' or 'GPIO_NOT_USED'
526 * to output and 'GPIO_IN' to input for each port. And initalize 526 * to output and 'GPIO_IN' to input for each port. And initialize
527 * default value on outputs. 527 * default value on outputs.
528 */ 528 */
529 for (i = 0; i < U300_GPIO_NUM_PORTS; i++) { 529 for (i = 0; i < U300_GPIO_NUM_PORTS; i++) {
diff --git a/arch/arm/plat-s3c24xx/clock.c b/arch/arm/plat-s3c24xx/clock.c
index 8474d05274bd..931d26d1a54b 100644
--- a/arch/arm/plat-s3c24xx/clock.c
+++ b/arch/arm/plat-s3c24xx/clock.c
@@ -43,7 +43,7 @@
43#include <plat/cpu.h> 43#include <plat/cpu.h>
44#include <plat/pll.h> 44#include <plat/pll.h>
45 45
46/* initalise all the clocks */ 46/* initialise all the clocks */
47 47
48void __init_or_cpufreq s3c24xx_setup_clocks(unsigned long fclk, 48void __init_or_cpufreq s3c24xx_setup_clocks(unsigned long fclk,
49 unsigned long hclk, 49 unsigned long hclk,
diff --git a/arch/arm/plat-samsung/clock.c b/arch/arm/plat-samsung/clock.c
index 8bf79f3efdfb..90a20512d68d 100644
--- a/arch/arm/plat-samsung/clock.c
+++ b/arch/arm/plat-samsung/clock.c
@@ -391,7 +391,7 @@ void __init s3c_disable_clocks(struct clk *clkp, int nr_clks)
391 (clkp->enable)(clkp, 0); 391 (clkp->enable)(clkp, 0);
392} 392}
393 393
394/* initalise all the clocks */ 394/* initialise all the clocks */
395 395
396int __init s3c24xx_register_baseclocks(unsigned long xtal) 396int __init s3c24xx_register_baseclocks(unsigned long xtal)
397{ 397{
diff --git a/arch/arm/plat-spear/padmux.c b/arch/arm/plat-spear/padmux.c
index d2aab3adcdeb..555eec6dc1cb 100644
--- a/arch/arm/plat-spear/padmux.c
+++ b/arch/arm/plat-spear/padmux.c
@@ -66,7 +66,7 @@ static int pmx_mode_set(struct pmx_mode *mode)
66 * If peripheral is not supported by current mode then request is rejected. 66 * If peripheral is not supported by current mode then request is rejected.
67 * Conflicts between peripherals are not handled and peripherals will be 67 * Conflicts between peripherals are not handled and peripherals will be
68 * enabled in the order they are present in pmx_dev array. 68 * enabled in the order they are present in pmx_dev array.
69 * In case of conflicts last peripheral enalbed will be present. 69 * In case of conflicts last peripheral enabled will be present.
70 * Returns -ve on Err otherwise 0 70 * Returns -ve on Err otherwise 0
71 */ 71 */
72static int pmx_devs_enable(struct pmx_dev **devs, u8 count) 72static int pmx_devs_enable(struct pmx_dev **devs, u8 count)