Messages in this thread Patch in this message | | | From | Mariusz Kozlowski <> | Subject | [2.4 PATCH] arm sa1100 parenthesis fix | Date | Fri, 1 Dec 2006 16:21:12 +0100 |
| |
Hello,
This patch fixes parenthesis stuff.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
include/asm-arm/arch-sa1100/SA-1101.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.4.34-pre6-a/include/asm-arm/arch-sa1100/SA-1101.h 2001-02-13 23:13:44.000000000 +0100 +++ linux-2.4.34-pre6-b/include/asm-arm/arch-sa1100/SA-1101.h 2006-12-01 12:08:00.000000000 +0100 @@ -98,7 +98,7 @@ #define SMCR_ColAdrBits( x ) /* col. addr bits 8..11 */ \ (( (x) - 8 ) << FShft (SMCR_DCAC)) #define SMCR_RowAdrBits( x ) /* row addr bits 9..12 */\ - (( (x) - 9 ) << FShft (SMCR_DRAC) + (( (x) - 9 ) << FShft (SMCR_DRAC)) #define SNPR_VFBstart Fld(12,0) /* Video frame buffer addr */ #define SNPR_VFBsize Fld(11,12) /* Video frame buffer size */ @@ -386,7 +386,7 @@ #define VgaStatus (*((volatile Word *) SA1101_p2v (_VgaStatus))) #define VgaInterruptMask (*((volatile Word *) SA1101_p2v (_VgaInterruptMask))) #define VgaPalette (*((volatile Word *) SA1101_p2v (_VgaPalette))) -#define DacControl (*((volatile Word *) SA1101_p2v (_DacControl)) +#define DacControl (*((volatile Word *) SA1101_p2v (_DacControl))) #define VgaTest (*((volatile Word *) SA1101_p2v (_VgaTest))) #define VideoControl_VgaEn 0x00000000
-- Regards,
Mariusz Kozlowski - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |