]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdio: Fix PM_SLEEP related build warnings
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 9 Aug 2012 09:32:21 +0000 (09:32 +0000)
committerChris Ball <cjb@laptop.org>
Wed, 19 Sep 2012 08:29:43 +0000 (16:29 +0800)
commit96292d3648ffd2ab535d4dc2cfb6a5cb45075c8e
treed5c5beb87d90bc09eb36b63bf1d1f3479ee34946
parent295207e0642e3572f3e6705450ef3cece99958fe
mmc: sdio: Fix PM_SLEEP related build warnings

Power management callbacks defined by SIMPLE_DEV_PM_OPS are only used if
the PM_SLEEP Kconfig symbol has been defined. If not, the compiler will
complain about them being unused. However, since the callback for this
driver doesn't do anything it can just as well be dropped.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/sdio_bus.c