mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
microblaze: Remove ignored return type for __arch__swab16 function
This change remove compilation warnings. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
e2776587c0
commit
292ed489db
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@
|
|||
|
||||
I think this is a symptom of a bug in mb-gcc. JW 20040303
|
||||
*/
|
||||
static __inline__ __const__ __u16 ___arch__swab16 (__u16 half_word)
|
||||
|
||||
|
||||
static __inline__ __u16 ___arch__swab16 (__u16 half_word)
|
||||
{
|
||||
/* 32 bit temp to cast result, forcing clearing of high word */
|
||||
__u32 temp;
|
||||
|
|
Loading…
Reference in a new issue