From 8de7ed3abe2b972fd3cc2eda3953fa2c0b554e3e Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sat, 11 Mar 2006 22:56:07 +0100 Subject: More GCC 4.x code cleanup --- board/m5272c3/flash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'board/m5272c3') diff --git a/board/m5272c3/flash.c b/board/m5272c3/flash.c index fb918435c8..f156342291 100644 --- a/board/m5272c3/flash.c +++ b/board/m5272c3/flash.c @@ -256,8 +256,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last) return rc; } - -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) { volatile u16 *addr = (volatile u16 *) dest; ulong result; -- cgit v1.2.3