aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91rm9200/clock.c
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2006-06-20 19:31:39 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-20 19:31:39 +0100
commit55c20c0af7fe7d5d09af4addfafcfe3bdc500f5d (patch)
tree756496430a378be4be870928251c5aec43325634 /arch/arm/mach-at91rm9200/clock.c
parent5c3fddced9f62f4b175ce400bb96b23f47626e50 (diff)
downloadlinux-2.6.34-ux500-55c20c0af7fe7d5d09af4addfafcfe3bdc500f5d.tar.gz
[ARM] 3599/1: AT91RM9200 remove global variables
Patch from Andrew Victor This patch removes some now unnecessary global variables - at91_master_clock, at91_serial_map, at91_console_port. Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91rm9200/clock.c')
-rw-r--r--arch/arm/mach-at91rm9200/clock.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-at91rm9200/clock.c b/arch/arm/mach-at91rm9200/clock.c
index 30042d2bac5..fe71b834899 100644
--- a/arch/arm/mach-at91rm9200/clock.c
+++ b/arch/arm/mach-at91rm9200/clock.c
@@ -28,10 +28,10 @@
#include <asm/mach-types.h>
#include <asm/arch/hardware.h>
-#include <asm/arch/board.h> /* for master clock global */
#include "generic.h"
+
/*
* There's a lot more which can be done with clocks, including cpufreq
* integration, slow clock mode support (for system suspend), letting
@@ -722,9 +722,6 @@ int __init at91_clock_init(unsigned long main_clock)
(unsigned) main_clock / 1000000,
((unsigned) main_clock % 1000000) / 1000);
- /* FIXME get rid of master_clock global */
- at91_master_clock = mck.rate_hz;
-
#ifdef CONFIG_AT91_PROGRAMMABLE_CLOCKS
/* establish PCK0..PCK3 parentage */
for (tmp = 0; tmp < ARRAY_SIZE(clock_list); tmp++) {