diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2013-02-08 09:04:58 (GMT) |
---|---|---|
committer | Sonic Zhang <sonic.zhang@analog.com> | 2013-05-13 07:47:24 (GMT) |
commit | 1cd9158eb4e5961e225a870195ccc8eed5d90adc (patch) | |
tree | b10532b4f5db95ad61b52918231e7cf454b2a914 /arch/blackfin | |
parent | bbd0f7e3ba66d288a2f146f1c7797801e04598ae (diff) | |
download | u-boot-1cd9158eb4e5961e225a870195ccc8eed5d90adc.tar.xz |
blackfin: Change the member's type in dma structures.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/include/asm/dma.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/blackfin/include/asm/dma.h b/arch/blackfin/include/asm/dma.h index ef1db6e..8a7c079 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 { |