]> git.sur5r.net Git - u-boot/commitdiff
microblaze: Remove ignored return type for __arch__swab16 function
authorMichal Simek <monstr@monstr.eu>
Tue, 30 Jun 2009 10:03:50 +0000 (12:03 +0200)
committerMichal Simek <monstr@monstr.eu>
Fri, 17 Jul 2009 06:02:52 +0000 (08:02 +0200)
This change remove compilation warnings.

Signed-off-by: Michal Simek <monstr@monstr.eu>
include/asm-microblaze/byteorder.h

index 51cacb048b6ed6078d5c716f3112c11efacce2c3..a4a75b7a6dc78d3aa850ceff6ecadd55899349d7 100644 (file)
@@ -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;