|
@@ -42,7 +42,7 @@ static int dev_update_qos_constraint(struct device *dev, void *data)
|
|
|
* default_stop_ok - Default PM domain governor routine for stopping devices.
|
|
|
* @dev: Device to check.
|
|
|
*/
|
|
|
-bool default_stop_ok(struct device *dev)
|
|
|
+static bool default_stop_ok(struct device *dev)
|
|
|
{
|
|
|
struct gpd_timing_data *td = &dev_gpd_data(dev)->td;
|
|
|
unsigned long flags;
|
|
@@ -229,10 +229,7 @@ static bool always_on_power_down_ok(struct dev_pm_domain *domain)
|
|
|
|
|
|
#else /* !CONFIG_PM_RUNTIME */
|
|
|
|
|
|
-bool default_stop_ok(struct device *dev)
|
|
|
-{
|
|
|
- return false;
|
|
|
-}
|
|
|
+static inline bool default_stop_ok(struct device *dev) { return false; }
|
|
|
|
|
|
#define default_power_down_ok NULL
|
|
|
#define always_on_power_down_ok NULL
|