fix pxa2xx_spi.c build
PATCH 1/1 fix pxa2xx_spi.c build
This patch fixes build error of pxa2xx-spi driver introduced by commit 7e96445533ac3f4f7964646a202ff3620602fab4:
Signed-off-by Mike Rapoport <mike-UTxiZqZC01RS1MOuV/[email protected]>
----
drivers/spi/pxa2xx_spi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/spi/pxa2xx_spi.c +1 -1
@@ -49,7 +49,7 @@ MODULE_ALIAS("platform:pxa2xx-spi");#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)#define RESET_DMA_CHANNEL (DCSR_NODESC | DMA_INT_MASK) -#define IS_DMA_ALIGNED (x) (((x) & 0x07) == 0) +#define IS_DMA_ALIGNED (x) (((u32)(x) & 0x07) == 0)#define MAX_DMA_LEN 8191/*
Signature · 9 lines
Sincerely yours, Mike. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/