linuxkpi: Add pm_runtime_suspended()

Reviewed by:	manu
Approved by:	manu
Differential Revision:	https://reviews.freebsd.org/D38083
This commit is contained in:
Jean-Sébastien Pédron 2023-01-11 23:23:14 +01:00
parent 2272ccaa68
commit 710c6084d1
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC

View File

@ -40,4 +40,10 @@ pm_runtime_get_if_active(struct device *dev, bool x)
return 1;
}
static inline int
pm_runtime_suspended(struct device *dev)
{
return 0;
}
#endif /* _LINUXKPI_LINUX_PM_RUNTIME_H_ */