Hi, On Wed, Nov 16 2011, Kyungmin Park wrote: > From: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> > > Fix wrong bus_ops->sleep check. > > Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> > --- > diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c > index 5278ffb..193e449 100644 > --- a/drivers/mmc/core/core.c > +++ b/drivers/mmc/core/core.c > @@ -2196,7 +2196,7 @@ int mmc_card_sleep(struct mmc_host *host) > > mmc_bus_get(host); > > - if (host->bus_ops && !host->bus_dead && host->bus_ops->awake) > + if (host->bus_ops && !host->bus_dead && host->bus_ops->sleep) > err = host->bus_ops->sleep(host); > > mmc_bus_put(host); > Thanks, applied to mmc-next for 3.2. (My understanding is that this isn't going to have any real-world consequences, since the only bus that defines awake or sleep is core/mmc.c, and it defines both of them.) - Chris. -- Chris Ball <cjb@xxxxxxxxxx> <http://printf.net/> One Laptop Per Child -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html