summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-06-30 12:03:50 +0200
committerMichal Simek <monstr@monstr.eu>2009-07-17 08:02:52 +0200
commit292ed489dba8cc97b458579003a8001cd4703cd8 (patch)
treee5b55eeb9fffad5e8260dd40e263c61215837b56 /include
parente2776587c0eac131954ae100fda89cc3e7ed8b57 (diff)
downloadu-boot-imx-292ed489dba8cc97b458579003a8001cd4703cd8.zip
u-boot-imx-292ed489dba8cc97b458579003a8001cd4703cd8.tar.gz
u-boot-imx-292ed489dba8cc97b458579003a8001cd4703cd8.tar.bz2
microblaze: Remove ignored return type for __arch__swab16 function
This change remove compilation warnings. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'include')
-rw-r--r--include/asm-microblaze/byteorder.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-microblaze/byteorder.h b/include/asm-microblaze/byteorder.h
index 51cacb0..a4a75b7 100644
--- a/include/asm-microblaze/byteorder.h
+++ b/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;