]> git.karo-electronics.de Git - linux-beck.git/commit
PM / Domains: Fix compilation warning related to genpd_start_dev_no_timing()
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 6 Sep 2012 08:18:57 +0000 (08:18 +0000)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 6 Sep 2012 21:10:53 +0000 (23:10 +0200)
commitb3d3b9fb6016e6eacd3ae49fb786806d00c43e7b
tree0502ad1e26b00f042d2462e6f7fbaf18eee352d8
parent74a2799ab51acec9410f467fef8678ebb1125d7d
PM / Domains: Fix compilation warning related to genpd_start_dev_no_timing()

Function genpd_start_dev_no_timing was accessed inside CONFIG_PM_RUNTIME
macro but defined outside it. When the above macro was not defined the
compiler gave the following warning:

drivers/base/power/domain.c:96:12: warning:
‘genpd_start_dev_no_timing’ defined but not used [-Wunused-function]

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/domain.c