The patch titled mmc: omap: check the get_cover_state function pointer if not set has been removed from the -mm tree. Its filename was mmc-omap-check-the-get_cover_state-function-pointer-if-not-set.patch This patch was dropped because an updated version will be merged The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: mmc: omap: check the get_cover_state function pointer if not set From: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> If the get_cover_state is not set, it occurs the oops. Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx> Cc: Tony Lindgren <tony@xxxxxxxxxxx> Cc: Pierre Ossman <drzeus-list@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/mmc/host/omap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff -puN drivers/mmc/host/omap.c~mmc-omap-check-the-get_cover_state-function-pointer-if-not-set drivers/mmc/host/omap.c --- a/drivers/mmc/host/omap.c~mmc-omap-check-the-get_cover_state-function-pointer-if-not-set +++ a/drivers/mmc/host/omap.c @@ -236,7 +236,10 @@ static void mmc_omap_release_slot(struct static inline int mmc_omap_cover_is_open(struct mmc_omap_slot *slot) { - return slot->pdata->get_cover_state(mmc_dev(slot->mmc), slot->id); + if (slot->pdata->get_cover_state) + return slot->pdata->get_cover_state(mmc_dev(slot->mmc), + slot->id); + return 0; } static ssize_t _ Patches currently in -mm which might be from kyungmin.park@xxxxxxxxxxx are mmc-omap-check-the-get_cover_state-function-pointer-if-not-set.patch git-mtd.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html