drivers: mmc: bfin_sdh: fix build error
PATCH 1/1 drivers: mmc: bfin_sdh: fix build error
From: Sonic Zhang <[email protected]>
Descriptor array structure has been moved into blackfin dma.h head file. This patch fix below error:
drivers/mmc/host/bfin_sdh.c:52:8: error: redefinition of 'struct dma_desc_array'
make[4]: *** [drivers/mmc/host/bfin_sdh.o] Error 1
--- drivers/mmc/host/bfin_sdh.c | 13 ------------- 1 file changed, 13 deletions(-)
drivers/mmc/host/bfin_sdh.c +0 -7
@@ -49,13 +49,6 @@#define bfin_write_SDH_CFG bfin_write_RSI_CFG#endif -struct dma_desc_array { -unsigned long start_addr; -unsigned short cfg; -unsigned short x_count; -short x_modify; -} __packed; -struct sdh_host {struct mmc_host *mmc;spinlock_t lock;
Signature · 1 line
1.7.9.5
Hi Chris,
Would you please take a look at this patch?
Since without this patch, regression test for blackfin will fail:
http://kisskb.ellerman.id.au/kisskb/matrix/
Thank you!
Quoted 36 lines · Bob Liu
From: Sonic Zhang <[email protected]>
Descriptor array structure has been moved into blackfin
dma.hhead file. This patch fix below error:
drivers/mmc/host/bfin_sdh.c:52:8: error: redefinition of 'structdma_desc_array'
make[4]: *** [drivers/mmc/host/bfin_sdh.o] Error 1Signed-off-by Sonic Zhang <[email protected]>Signed-off-by Bob Liu <[email protected]>--- drivers/mmc/host/bfin_sdh.c | 13 ------------- 1 file changed, 13 deletions(-)drivers/mmc/host/bfin_sdh.c +0
-8@@ -49,13 +49,6 @@#define bfin_write_SDH_CFG bfin_write_RSI_CFG#endif -struct dma_desc_array { -unsigned long start_addr; -unsigned short cfg; -unsigned short x_count; -short x_modify; -} __packed; -struct sdh_host {struct mmc_host *mmc;spinlock_t lock; --1.7.9.5
Signature · 2 lines
Regards, --Bob
Hi Bob,
Quoted 3 lines · Bob Liu
Would you please take a look at this patch?
Since without this patch, regression test for blackfin will fail:
http://kisskb.ellerman.id.au/kisskb/matrix/
Thanks, pushed to mmc-next for 3.6 now.
- Chris.
Signature · 2 lines
Chris Ball <[email protected]> <http://printf.net/> One Laptop Per Child
Quoted 9 lines · Chris Ball
Hi Bob,
Quoted 3 lines · Bob Liu
Would you please take a look at this patch?
Since without this patch, regression test for blackfin will fail:
http://kisskb.ellerman.id.au/kisskb/matrix/Thanks, pushed to mmc-next for 3.6 now.
Thank you.
Quoted 4 lines
- Chris.
--
Chris Ball <[email protected]> <http://printf.net/>
One Laptop Per Child
Signature · 2 lines
Regards, --Bob