mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 17:30:40 +03:00
tegra: hwpm: move regops functions to os folder
Regops functions refer to linux uapi structures. As an effort to make HWPM driver OS agnostic, move regops functions to os linux folder. Jira THWPM-59 Change-Id: Ia06c4da5c91a59b088678daaaf6063d70af99177 Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2738155 Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Vasuki Shankar <vasukis@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
221e73d921
commit
c893ae2cd9
23
os/linux/regops_utils.h
Normal file
23
os/linux/regops_utils.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
|
||||
#ifndef TEGRA_HWPM_OS_LINUX_REGOPS_UTILS_H
|
||||
#define TEGRA_HWPM_OS_LINUX_REGOPS_UTILS_H
|
||||
|
||||
struct tegra_soc_hwpm;
|
||||
struct tegra_soc_hwpm_exec_reg_ops;
|
||||
|
||||
int tegra_hwpm_exec_regops(struct tegra_soc_hwpm *hwpm,
|
||||
struct tegra_soc_hwpm_exec_reg_ops *exec_reg_ops);
|
||||
|
||||
#endif /* TEGRA_HWPM_OS_LINUX_REGOPS_UTILS_H */
|
||||
Reference in New Issue
Block a user