imxmmc: fix crash when no platform data is provided
authorPaulius Zaleckas <paulius.zaleckas@teltonika.lt>
Wed, 9 Jul 2008 13:03:20 +0000 (16:03 +0300)
committerPierre Ossman <drzeus@drzeus.cx>
Sat, 26 Jul 2008 23:26:16 +0000 (01:26 +0200)
commitc5d5e9c40fc6cabedd5fdc7441e6e9d37f5c9bba
tree3deff42e5df9db82d26eee20527ef01d85e7fc2e
parent5fc63dfba8a016caf832572aeaa90abef82f0ba0
imxmmc: fix crash when no platform data is provided

Don't crash if no platform data is provided.
In this case assume that card is present.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Acked-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/imxmmc.c