diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2010-08-04 11:24:53 +0200 |
---|---|---|
committer | Reinhard Meyer <u-boot@emk-elektronik.de> | 2010-09-03 16:26:45 +0200 |
commit | 5c3dab97c751e43103813472283305cbfe70d3f0 (patch) | |
tree | 43c22e19c80f407124e1da179533c84eb6b25ffe /arch/arm | |
parent | 7588ad12bafe596c273e13cd80bb3bfbac0e08c7 (diff) | |
download | u-boot-imx-5c3dab97c751e43103813472283305cbfe70d3f0.zip u-boot-imx-5c3dab97c751e43103813472283305cbfe70d3f0.tar.gz u-boot-imx-5c3dab97c751e43103813472283305cbfe70d3f0.tar.bz2 |
at91_pit: Fix AT91_PIT_MR_PIV_MASK macro
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/arch-at91/at91_pit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-at91/at91_pit.h b/arch/arm/include/asm/arch-at91/at91_pit.h index 5615a02..61aca79 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 |