Re: [PATCH] mmc: core: Fix build warning with !CONFIG_SUSPEND

From: Shilimkar, Santosh
Date: Sat May 26 2012 - 13:23:36 EST


Chris,

On Sat, May 19, 2012 at 1:28 PM, Santosh Shilimkar
<santosh.shilimkar@xxxxxx> 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@xxxxxx>
> Cc: Chris Ball <cjb@xxxxxxxxxx>
> ---
Ping
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/