Re: [PATCH][trivial] microblaze: Fix out_le32() macro

From: Michal Simek
Date: Tue Feb 23 2010 - 02:38:27 EST


Added to next branch.

Thanks,
Michal

Steven J. Magnani wrote:
Trailing semicolon causes compilation involving out_le32() to fail.

Signed-off-by: Steven J. Magnani <steve@xxxxxxxxxxxxxxx>
diff -uprN a/arch/microblaze/include/asm/io.h b/arch/microblaze/include/asm/io.h
--- a/arch/microblaze/include/asm/io.h 2010-02-22 09:21:14.000000000 -0600
+++ b/arch/microblaze/include/asm/io.h 2010-02-22 09:21:44.000000000 -0600
@@ -217,7 +217,7 @@ static inline void __iomem *__ioremap(ph
* Little endian
*/
-#define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a));
+#define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a))
#define out_le16(a, v) __raw_writew(__cpu_to_le16(v), (a))
#define in_le32(a) __le32_to_cpu(__raw_readl(a))



--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/