mmci: fix crash with debug enabled
authorRabin Vincent <rabin@rab.in>
Fri, 17 Apr 2009 03:14:19 +0000 (08:44 +0530)
committerPierre Ossman <pierre@ossman.eu>
Sun, 3 May 2009 20:12:27 +0000 (22:12 +0200)
If MMC debugging is enabled, the mmci driver oopses because the DBG
macro uses host->mmc before it is set.  Set it earlier.

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>

No differences found