MMC: OMAP: Check the get_cover_state function pointer if not set
authorKyungmin Park <kyungmin.park@samsung.com>
Wed, 26 Mar 2008 20:09:38 +0000 (16:09 -0400)
committerPierre Ossman <drzeus@drzeus.cx>
Fri, 18 Apr 2008 18:05:30 +0000 (20:05 +0200)
commit8348f0029d85828671e3a1d11db41fe53afbdc0d
treeed90ba0f3e78aa8c1c4f6d5b0d7e00743b987e49
parent01e77e13fc5a1e6c00ebb4f688293fa3116315ee
MMC: OMAP: Check the get_cover_state function pointer if not set

If the get_cover_state is not set, it occurs the oops.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/omap.c