summaryrefslogtreecommitdiff
path: root/include/asm-microblaze/byteorder.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-07-17 23:04:07 +0200
committerWolfgang Denk <wd@denx.de>2009-07-17 23:04:07 +0200
commitf889cedfadb20eb54fd05714f3770cad072bdf19 (patch)
treec9aad0bfc19ba424e639f5b4e2a28d8ff05faa65 /include/asm-microblaze/byteorder.h
parent569460ebf14b87bd8fdb2352bde95d35ee96e13b (diff)
parent292ed489dba8cc97b458579003a8001cd4703cd8 (diff)
downloadu-boot-imx-f889cedfadb20eb54fd05714f3770cad072bdf19.zip
u-boot-imx-f889cedfadb20eb54fd05714f3770cad072bdf19.tar.gz
u-boot-imx-f889cedfadb20eb54fd05714f3770cad072bdf19.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-microblaze
Diffstat (limited to 'include/asm-microblaze/byteorder.h')
-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;