Skip to contentSkip to conversation

at91_pit: Fix AT91_PIT_MR_PIV_MASK macro

PATCH New Alexander Stein 2 participants 2 messages Aug 4, 2010 – Sep 3, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 at91_pit: Fix AT91_PIT_MR_PIV_MASK macro

---
 arch/arm/include/asm/arch-at91/at91_pit.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/include/asm/arch-at91/at91_pit.h +1 -1
index 5615a02..61aca79 100644
@@ -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
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 at91_pit: Fix AT91_PIT_MR_PIV_MASK macro

Quoted 4 lines · Alexander Stein
---
 arch/arm/include/asm/arch-at91/at91_pit.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied to u-boot-atmel/next
Thanks,
Reinhard