From: Sonic Zhang Date: Fri, 8 Feb 2013 09:04:58 +0000 (+0800) Subject: blackfin: Change the member's type in dma structures. X-Git-Tag: v2013.07-rc1~1^2~53^2~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1cd9158eb4e5961e225a870195ccc8eed5d90adc;p=u-boot blackfin: Change the member's type in dma structures. Signed-off-by: Sonic Zhang --- diff --git a/arch/blackfin/include/asm/dma.h b/arch/blackfin/include/asm/dma.h index ef1db6e99c..8a7c07933e 100644 --- a/arch/blackfin/include/asm/dma.h +++ b/arch/blackfin/include/asm/dma.h @@ -17,21 +17,21 @@ struct dmasg_large { void *next_desc_addr; - unsigned long start_addr; - unsigned short cfg; - unsigned short x_count; - short x_modify; - unsigned short y_count; - short y_modify; + u32 start_addr; + u16 cfg; + u16 x_count; + s16 x_modify; + u16 y_count; + s16 y_modify; } __attribute__((packed)); struct dmasg { - unsigned long start_addr; - unsigned short cfg; - unsigned short x_count; - short x_modify; - unsigned short y_count; - short y_modify; + u32 start_addr; + u16 cfg; + u16 x_count; + s16 x_modify; + u16 y_count; + s16 y_modify; } __attribute__((packed)); struct dma_register {