]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc:Fix return type & parameter passed for I/O functions
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Tue, 10 Apr 2012 22:48:59 +0000 (22:48 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 9 Aug 2012 20:23:14 +0000 (22:23 +0200)
commita16a5cccfb30f4a4bd4c5798d899138250765b38
treec3147e53e7ab962ff284fef715686396adb7670a
parentf75325e1927398f7e18e15f186b1fc52174cc19f
powerpc:Fix return type & parameter passed for I/O functions

Return type of in_8, in_be16 and in_le16 should not be'int'. Update it to type
u8/u16/u32.
Although 'unsigned' for in_be32 and in_le32 is correct. But to make return type
uniform across the file changed to u32

Similarly, parameter passed to out_8, out_be16, out_le16 ,out_be32 & out_le32
should not be 'int'.Change it to type u8/u16/u32.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
arch/powerpc/include/asm/io.h