powerpc/8xxx: Fix compile warning when build for a DDR1 or DDR2 board
authorKumar Gala <galak@kernel.crashing.org>
Thu, 20 Jan 2011 07:53:15 +0000 (01:53 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 25 Jan 2011 05:30:23 +0000 (23:30 -0600)
commit92966835e96af324fed574815036e481be807d04
tree9b6bbaa5fd11335d25de0d49d3f0dd855f0c3415
parentbeba93ed05d8cea795bad895b6cc1490004fc242
powerpc/8xxx: Fix compile warning when build for a DDR1 or DDR2 board

ctrl_regs.c: In function 'set_ddr_sdram_mode_2':
ctrl_regs.c:690:6: warning: unused variable 'i'

'i' is only used by DDR3 code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c