diff options
author | Wolfgang Denk <wd@denx.de> | 2008-08-12 00:36:53 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-12 00:36:53 +0200 |
commit | c9c101c660b3d1995045c61c7c6041f52b6cf335 (patch) | |
tree | 064008f8c6191bd046d5e39212266c9212c210b0 /cpu/mpc512x | |
parent | b315ad8f0aa0cf68ccc895d41c933d777fdaba8e (diff) | |
download | u-boot-imx-c9c101c660b3d1995045c61c7c6041f52b6cf335.zip u-boot-imx-c9c101c660b3d1995045c61c7c6041f52b6cf335.tar.gz u-boot-imx-c9c101c660b3d1995045c61c7c6041f52b6cf335.tar.bz2 |
ads5121: fix compiler warnings (unused variables)
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/mpc512x')
-rw-r--r-- | cpu/mpc512x/cpu.c | 2 | ||||
-rw-r--r-- | cpu/mpc512x/iopin.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/cpu/mpc512x/cpu.c b/cpu/mpc512x/cpu.c index 81bae41..703e188 100644 --- a/cpu/mpc512x/cpu.c +++ b/cpu/mpc512x/cpu.c @@ -166,9 +166,7 @@ static void old_ft_cpu_setup(void *blob, bd_t *bd) static void ft_clock_setup(void *blob, bd_t *bd) { - int node; char *cpu_path = "/cpus/" OF_CPU; - const char *path = NULL; /* * fixup cpu clocks using path diff --git a/cpu/mpc512x/iopin.c b/cpu/mpc512x/iopin.c index 01ab34a..3d7042d 100644 --- a/cpu/mpc512x/iopin.c +++ b/cpu/mpc512x/iopin.c @@ -27,7 +27,7 @@ void iopin_initialize(iopin_t *ioregs_init, int len) { - short i, j, n, p; + short i, j, p; u_long *reg; immap_t *im = (immap_t *)CFG_IMMR; |