projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e277658
)
microblaze: Remove ignored return type for __arch__swab16 function
author
Michal Simek
<monstr@monstr.eu>
Tue, 30 Jun 2009 10:03:50 +0000
(12:03 +0200)
committer
Michal 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
patch
|
blob
|
history
diff --git
a/include/asm-microblaze/byteorder.h
b/include/asm-microblaze/byteorder.h
index 51cacb048b6ed6078d5c716f3112c11efacce2c3..a4a75b7a6dc78d3aa850ceff6ecadd55899349d7 100644
(file)
--- 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;