summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/flat.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/include/asm/flat.h')
-rw-r--r--arch/microblaze/include/asm/flat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/flat.h b/arch/microblaze/include/asm/flat.h
index f23c3d266bae..3d2747d4c967 100644
--- a/arch/microblaze/include/asm/flat.h
+++ b/arch/microblaze/include/asm/flat.h
@@ -60,7 +60,7 @@ static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
* unaligned.
*/
-static inline void
+static inline int
flat_put_addr_at_rp(u32 __user *rp, u32 addr, u32 relval)
{
u32 *p = (__force u32 *)rp;