Ver Fonte

microblaze: Remove ignored return type for __arch__swab16 function

This change remove compilation warnings.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek há 16 anos atrás
pai
commit
292ed489db
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      include/asm-microblaze/byteorder.h

+ 3 - 1
include/asm-microblaze/byteorder.h

@@ -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;