From 08f1080c9cbde2a500e6efe8bc5647a68f183c91 Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 25 Apr 2004 16:40:11 +0000 Subject: Make compile clean. --- common/cmd_ace.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'common') diff --git a/common/cmd_ace.c b/common/cmd_ace.c index 3512a15..4969811 100644 --- a/common/cmd_ace.c +++ b/common/cmd_ace.c @@ -53,7 +53,7 @@ static unsigned ace_readw(unsigned offset) return readw(CFG_SYSTEMACE_BASE+offset); } -static unsigned ace_writew(unsigned val, unsigned offset) +static void ace_writew(unsigned val, unsigned offset) { writew(val, CFG_SYSTEMACE_BASE+offset); } @@ -119,7 +119,6 @@ static unsigned long systemace_read(int dev, unsigned long blkcnt, unsigned long *buffer) { - unsigned val; int retry; unsigned blk_countdown; unsigned char*dp = (unsigned char*)buffer; @@ -218,4 +217,4 @@ static unsigned long systemace_read(int dev, return blkcnt; } -#endif +#endif /* CONFIG_SYSTEMACE */ -- cgit v1.1