浏览代码

microblaze: Remove ignored return type for __arch__swab16 function

This change remove compilation warnings.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek 16 年之前
父节点
当前提交
292ed489db
共有 1 个文件被更改,包括 3 次插入1 次删除
  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;