aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/libfdt-wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/boot/libfdt-wrapper.c')
-rw-r--r--arch/powerpc/boot/libfdt-wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/boot/libfdt-wrapper.c b/arch/powerpc/boot/libfdt-wrapper.c
index 002da16c97c1..868c5049a80b 100644
--- a/arch/powerpc/boot/libfdt-wrapper.c
+++ b/arch/powerpc/boot/libfdt-wrapper.c
@@ -44,8 +44,8 @@
44 44
45#define offset_devp(off) \ 45#define offset_devp(off) \
46 ({ \ 46 ({ \
47 int offset = (off); \ 47 int _offset = (off); \
48 check_err(offset) ? NULL : (void *)(offset+1); \ 48 check_err(_offset) ? NULL : (void *)(_offset+1); \
49 }) 49 })
50 50
51#define devp_offset(devp) (((int)(devp))-1) 51#define devp_offset(devp) (((int)(devp))-1)