]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec0eef5e06ee6e63d9d143ae8c270fe28026d78d
treec1eac49aef0f4a4f097f6bd21790694a6443951a
parent3841b0f8bd7d190b3248dab39a10d8ba8ae763df
mmci: fix crash with debug enabled

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>
drivers/mmc/host/mmci.c