diff options
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 3512a1518..4969811f3 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 */ |