]> git.karo-electronics.de Git - linux-beck.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)
commitd8e2ac330f65bcf47e8894fe5331a7e8ee019c06
treed5c5beb87d90bc09eb36b63bf1d1f3479ee34946
parent1a41313e7f8c5b724a2e3ff66558dbe811844423
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