diff --git a/include/device.h b/include/device.h index 11b4ecf2206..e00e66996a3 100644 --- a/include/device.h +++ b/include/device.h @@ -598,7 +598,8 @@ static inline int device_pm_get_sync(struct device *dev) { return -ENOTSUP; } static inline int device_pm_put(struct device *dev) { return -ENOTSUP; } static inline int device_pm_put_sync(struct device *dev) { return -ENOTSUP; } #endif - +#else +#define device_pm_control_nop(...) NULL #endif /**