]> err.no Git - linux-2.6/commit
mmc: fix spares errors of sdhci.c
authorTomas Winkler <tomas.winkler@intel.com>
Sat, 5 Jul 2008 16:52:04 +0000 (19:52 +0300)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 15 Jul 2008 12:14:49 +0000 (14:14 +0200)
commitc8b3e02eb250ceb661437e9b198757eff0eb6fd2
treeaa11c6360e64d6f8eeb2b73fc92d7efb9d8111b1
parent23af60398af2f5033e2f53665538a09f498dbc03
mmc: fix spares errors of sdhci.c

1. sdhci_prepare_data: fix shadowing of count variable
u8 count
int count -> sg_cnt;
2.  sdhci_add_host: assignment of integer to pointer
dma_mask = 0 -> dma_mask = NULL;

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/sdhci.c