blackfin: Change the member's type in dma structures.
authorSonic Zhang <sonic.zhang@analog.com>
Fri, 8 Feb 2013 09:04:58 +0000 (17:04 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Mon, 13 May 2013 07:47:24 +0000 (15:47 +0800)
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
arch/blackfin/include/asm/dma.h

index ef1db6e..8a7c079 100644 (file)
 
 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 {