diff options
author | wdenk <wdenk> | 2004-04-25 16:40:11 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-04-25 16:40:11 +0000 |
commit | 08f1080c9cbde2a500e6efe8bc5647a68f183c91 (patch) | |
tree | 1a53ab3d72a614a2a5dd49e135099796d88162ef /common/cmd_ace.c | |
parent | fc1cfcdb12cf03ec7e0f6ff4b8a9ed33139a5d7f (diff) | |
download | u-boot-imx-08f1080c9cbde2a500e6efe8bc5647a68f183c91.zip u-boot-imx-08f1080c9cbde2a500e6efe8bc5647a68f183c91.tar.gz u-boot-imx-08f1080c9cbde2a500e6efe8bc5647a68f183c91.tar.bz2 |
Make compile clean.
Diffstat (limited to 'common/cmd_ace.c')
-rw-r--r-- | common/cmd_ace.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 */ |