diff options
| author | Olof Johansson <olof@lixom.net> | 2012-11-21 03:35:26 -0500 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2012-11-21 03:35:26 -0500 |
| commit | 8f3c5ba7abaad7c0a7b5082f15c5983847f6e379 (patch) | |
| tree | 263b3f12b1bd56be8f5de7b023297376a1218e6b | |
| parent | bcc5155d05003f1addc91e125082dca886981a31 (diff) | |
| parent | 0bd1e3240ee49cba6fe243a317e07c8cc8e27334 (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.boot | 4 | ||||
| -rw-r--r-- | arch/arm/mach-bcm2835/bcm2835.c | 4 | ||||
| -rw-r--r-- | drivers/clk/clk-bcm2835.c | 2 |
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 | |
| 2 | params_phys-y := 0x00000100 | ||
| 3 | initrd_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 | ||
| 33 | void __init bcm2835_map_io(void) | 33 | static void __init bcm2835_map_io(void) |
| 34 | { | 34 | { |
| 35 | iotable_init(&io_map, 1); | 35 | iotable_init(&io_map, 1); |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | void __init bcm2835_init(void) | 38 | static 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 | } |
