From d52fb7e3d135704334bd6f97f3444e824665b76f Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sat, 11 Mar 2006 22:53:33 +0100 Subject: Some code cleanup for GCC 4.x --- board/lpd7a40x/flash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'board/lpd7a40x') diff --git a/board/lpd7a40x/flash.c b/board/lpd7a40x/flash.c index 2dfe37656..d18720e5b 100644 --- a/board/lpd7a40x/flash.c +++ b/board/lpd7a40x/flash.c @@ -351,8 +351,7 @@ outahere: * Copy memory to flash */ -volatile static int write_word (flash_info_t * info, ulong dest, - ulong data) +static int write_word (flash_info_t * info, ulong dest, ulong data) { vu_long *addr = (vu_long *) dest; ulong result; -- cgit v1.2.3