From: Michal Simek Date: Wed, 8 Jul 2009 09:57:02 +0200 Subject: [U-Boot] [PATCH 2/2] microblaze: Remove ignored return type for __arch__swab16 function In-Reply-To: <1247039822-27444-1-git-send-email-monstr@monstr.eu> References: <1247039822-27444-1-git-send-email-monstr@monstr.eu> Message-ID: <1247039822-27444-2-git-send-email-monstr@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This change remove compilation warnings. Signed-off-by: Michal Simek --- include/asm-microblaze/byteorder.h | 4 +++- 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; -- 1.5.5.1