From: Alexander Stein Date: Wed, 4 Aug 2010 09:24:53 +0000 (+0200) Subject: at91_pit: Fix AT91_PIT_MR_PIV_MASK macro X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=5c3dab97c751e43103813472283305cbfe70d3f0;p=u-boot.git at91_pit: Fix AT91_PIT_MR_PIV_MASK macro Signed-off-by: Alexander Stein --- diff --git a/arch/arm/include/asm/arch-at91/at91_pit.h b/arch/arm/include/asm/arch-at91/at91_pit.h index 5615a0206c..61aca79418 100644 --- a/arch/arm/include/asm/arch-at91/at91_pit.h +++ b/arch/arm/include/asm/arch-at91/at91_pit.h @@ -25,7 +25,7 @@ typedef struct at91_pit { #define AT91_PIT_MR_IEN 0x02000000 #define AT91_PIT_MR_EN 0x01000000 -#define AT91_PIT_MR_PIV_MASK (x & 0x000fffff) +#define AT91_PIT_MR_PIV_MASK(x) (x & 0x000fffff) #define AT91_PIT_MR_PIV(x) (x & AT91_PIT_MR_PIV_MASK) #ifdef CONFIG_AT91_LEGACY