alpr board: Fix GCC 4.6 build warnings
authorWolfgang Denk <wd@denx.de>
Tue, 29 Nov 2011 22:17:44 +0000 (22:17 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 1 Dec 2011 23:10:02 +0000 (00:10 +0100)
commitbba8f3929e1ae3c09274b8dcdf0ad7b099494f71
tree733e8e01e6c4ae393fd9192488c12dd530f23ddd
parent4ebbba442587cb03590c0747fd1fea16a158f15c
alpr board: Fix GCC 4.6 build warnings

Fix:
fpga.c: In function 'fpga_pre_fn':
fpga.c:88:16: warning: variable 'reg' set but not used
[-Wunused-but-set-variable]
nand.c: In function 'alpr_nand_dev_ready':
nand.c:125:18: warning: variable 'val' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
board/prodrive/alpr/fpga.c
board/prodrive/alpr/nand.c