mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-24 02:07:34 +03:00
tegra: hwpm: Modify OS common code for QNX
Modify the OS common code to be used by HWPM QNX resource manager. JIRA THWPM-44 Change-Id: Ibade56d3d94ce4d7e014e199963e2ddf568e7d3a Signed-off-by: vasukis <vasukis@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2858465 Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Vivek Bangera <vbangera@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
8b861518c4
commit
b27a32e7f0
@@ -29,22 +29,7 @@
|
||||
#ifdef __KERNEL__
|
||||
#include <os/linux/timers.h>
|
||||
#else
|
||||
int tegra_hwpm_timeout_init_impl(struct tegra_hwpm *hwpm,
|
||||
struct tegra_hwpm_timeout *timeout, u32 retries)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
int tegra_hwpm_timeout_expired_impl(struct tegra_hwpm *hwpm,
|
||||
struct tegra_hwpm_timeout *timeout)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
void tegra_hwpm_msleep_impl(unsigned int msecs)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
#include <os/qnx/timers.h>
|
||||
#endif
|
||||
|
||||
#define tegra_hwpm_timeout_init(hwpm, timeout, retries) \
|
||||
|
||||
Reference in New Issue
Block a user