aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-11-21 03:35:26 -0500
committerOlof Johansson <olof@lixom.net>2012-11-21 03:35:26 -0500
commit8f3c5ba7abaad7c0a7b5082f15c5983847f6e379 (patch)
tree263b3f12b1bd56be8f5de7b023297376a1218e6b
parentbcc5155d05003f1addc91e125082dca886981a31 (diff)
parent0bd1e3240ee49cba6fe243a317e07c8cc8e27334 (diff)
Merge tag 'bcm2835-for-3.8-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-rpi into next/cleanup
From Stephen Warren: ARM: bcm2835: cleanup Just a few minor/trivial cleanups. * tag 'bcm2835-for-3.8-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-rpi: ARM: bcm2835: remove useless variables from Makefile.boot ARM: bcm2835: Fix typo in the error message ARM: bcm2835: Add missing static modifiers
-rw-r--r--arch/arm/mach-bcm2835/Makefile.boot4
-rw-r--r--arch/arm/mach-bcm2835/bcm2835.c4
-rw-r--r--drivers/clk/clk-bcm2835.c2
3 files changed, 4 insertions, 6 deletions
diff --git a/arch/arm/mach-bcm2835/Makefile.boot b/arch/arm/mach-bcm2835/Makefile.boot
index 2d30e17f5b69..b3271754e9fd 100644
--- a/arch/arm/mach-bcm2835/Makefile.boot
+++ b/arch/arm/mach-bcm2835/Makefile.boot
@@ -1,3 +1 @@
1 zreladdr-y := 0x00008000 zreladdr-y := 0x00008000
2params_phys-y := 0x00000100
3initrd_phys-y := 0x00800000
diff --git a/arch/arm/mach-bcm2835/bcm2835.c b/arch/arm/mach-bcm2835/bcm2835.c
index f6fea4933571..53e3842c9330 100644
--- a/arch/arm/mach-bcm2835/bcm2835.c
+++ b/arch/arm/mach-bcm2835/bcm2835.c
@@ -30,12 +30,12 @@ static struct map_desc io_map __initdata = {
30 .type = MT_DEVICE 30 .type = MT_DEVICE
31}; 31};
32 32
33void __init bcm2835_map_io(void) 33static void __init bcm2835_map_io(void)
34{ 34{
35 iotable_init(&io_map, 1); 35 iotable_init(&io_map, 1);
36} 36}
37 37
38void __init bcm2835_init(void) 38static void __init bcm2835_init(void)
39{ 39{
40 int ret; 40 int ret;
41 41
diff --git a/drivers/clk/clk-bcm2835.c b/drivers/clk/clk-bcm2835.c
index 67ad16b20b81..59e0fd8016bf 100644
--- a/drivers/clk/clk-bcm2835.c
+++ b/drivers/clk/clk-bcm2835.c
@@ -55,5 +55,5 @@ void __init bcm2835_init_clocks(void)
55 pr_err("uart1_pclk not registered\n"); 55 pr_err("uart1_pclk not registered\n");
56 ret = clk_register_clkdev(clk, NULL, "20215000.uart"); 56 ret = clk_register_clkdev(clk, NULL, "20215000.uart");
57 if (ret) 57 if (ret)
58 pr_err("uart0_pclk alias not registered\n"); 58 pr_err("uart1_pclk alias not registered\n");
59} 59}