diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-08-15 13:55:16 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-08-15 13:55:16 +0000 |
commit | dff4df551d2aa14345bdda4b1313cba2774d54da (patch) | |
tree | a6204586c1bf0e27ce15ccac001f8ae5aa1da6d9 /bsd_eth_drivers/if_em | |
parent | d8b6f64e29c55a857ca346bd2247cd5aeddaab9e (diff) |
2009-08-15 Till Straumann <Till.Straumann@TU-Berlin.de>
* if_em/31000_osdep.h: added missing 'void' return
type of __out_le32() inline function.
Diffstat (limited to 'bsd_eth_drivers/if_em')
-rw-r--r-- | bsd_eth_drivers/if_em/e1000_osdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd_eth_drivers/if_em/e1000_osdep.h b/bsd_eth_drivers/if_em/e1000_osdep.h index 6817e36..447bdff 100644 --- a/bsd_eth_drivers/if_em/e1000_osdep.h +++ b/bsd_eth_drivers/if_em/e1000_osdep.h @@ -143,7 +143,7 @@ uint16_t rval; return rval; } -static inline __out_le16(uint8_t *base, uint32_t offset, uint16_t val) +static inline void __out_le16(uint8_t *base, uint32_t offset, uint16_t val) { __asm__ __volatile__( "sthbrx %1,%3,%2; eieio" @@ -163,7 +163,7 @@ uint32_t rval; return rval; } -static inline __out_le32(uint8_t *base, uint32_t offset, uint32_t val) +static inline void __out_le32(uint8_t *base, uint32_t offset, uint32_t val) { __asm__ __volatile__( "stwbrx %1,%3,%2; eieio" |