Messages in this thread |  | | | From | "Shilimkar, Santosh" <> | | Date | Sat, 26 May 2012 22:52:40 +0530 | | Subject | Re: [PATCH] mmc: core: Fix build warning with !CONFIG_SUSPEND |
| |
Chris,
On Sat, May 19, 2012 at 1:28 PM, Santosh Shilimkar <santosh.shilimkar@ti.com> wrote: > With !CONFIG_SUSPEND, mmc core layer throws below build warnings. > > drivers/mmc/core/bus.c:125: warning: 'mmc_bus_suspend' defined but not used > drivers/mmc/core/bus.c:136: warning: 'mmc_bus_resume' defined but not used > drivers/mmc/core/sdio_bus.c:197: warning: 'pm_no_operation' defined but not used > > Fix is by wrapping suspend hooks under CONFIG_SUSPEND > > Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> > Cc: Chris Ball <cjb@laptop.org> > --- Ping
|  |