Skip to content

Commit

Permalink
mmc: bfin_sdh: fix dma_desc_array build error
Browse files Browse the repository at this point in the history
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

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
  • Loading branch information
Sonic Zhang authored and Chris Ball committed Sep 4, 2012
1 parent 0d7614f commit 660d9a9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/mmc/host/bfin_sdh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 660d9a9

Please sign in to comment.