diff options
| author | Preetham Chandru Ramchandra <pchandru@nvidia.com> | 2021-05-17 08:27:54 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2021-05-19 04:08:56 -0400 |
| commit | f95d8afa523faee5374d44e3b318eae82562fa66 (patch) | |
| tree | a1d61927262d2fcafea6ea99ef7c9000258cc81d /include | |
| parent | 48dfc4c21b48bdc3ea38c12caedf39005b469003 (diff) | |
tegra: safety: Move header files to include/linux
Move tegra_nv_guard_group_id.h and tegra_nv_guard_service_id.h header
files to include/linux path.
Also move l1ss_submit_rq() to tegra_l1ss_kernel_interface.h
Bug 200700404
Change-Id: Ib609c3f3cbaebb495729eba6d607c340c9a2f185
Signed-off-by: Preetham Chandru Ramchandra <pchandru@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2530519
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/tegra_l1ss_ioctl.h | 4 | ||||
| -rw-r--r-- | include/linux/tegra_l1ss_kernel_interface.h | 23 | ||||
| -rw-r--r-- | include/linux/tegra_nv_guard_group_id.h (renamed from include/linux/platform/tegra/safety/tegra_nv_guard_group_id.h) | 0 | ||||
| -rw-r--r-- | include/linux/tegra_nv_guard_service_id.h (renamed from include/linux/platform/tegra/safety/tegra_nv_guard_service_id.h) | 0 |
4 files changed, 25 insertions, 2 deletions
diff --git a/include/linux/tegra_l1ss_ioctl.h b/include/linux/tegra_l1ss_ioctl.h index 229ebd72f..195ef04d2 100644 --- a/include/linux/tegra_l1ss_ioctl.h +++ b/include/linux/tegra_l1ss_ioctl.h | |||
| @@ -18,8 +18,8 @@ | |||
| 18 | #define _L1SS_IOCTL_H | 18 | #define _L1SS_IOCTL_H |
| 19 | 19 | ||
| 20 | #include <linux/ioctl.h> | 20 | #include <linux/ioctl.h> |
| 21 | #include <tegra_nv_guard_service_id.h> | 21 | #include <linux/tegra_nv_guard_service_id.h> |
| 22 | #include <tegra_nv_guard_group_id.h> | 22 | #include <linux/tegra_nv_guard_group_id.h> |
| 23 | 23 | ||
| 24 | typedef unsigned char uint8_t; | 24 | typedef unsigned char uint8_t; |
| 25 | typedef unsigned int uint32_t; | 25 | typedef unsigned int uint32_t; |
diff --git a/include/linux/tegra_l1ss_kernel_interface.h b/include/linux/tegra_l1ss_kernel_interface.h new file mode 100644 index 000000000..62e34592b --- /dev/null +++ b/include/linux/tegra_l1ss_kernel_interface.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify it | ||
| 5 | * under the terms and conditions of the GNU General Public License, | ||
| 6 | * version 2, as published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
| 9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 11 | * more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef _L1SS_INTERFACE_H | ||
| 18 | #define _L1SS_INTERFACE_H | ||
| 19 | |||
| 20 | #include <linux/tegra_l1ss_ioctl.h> | ||
| 21 | |||
| 22 | int l1ss_submit_rq(nv_guard_request_t *req, bool can_sleep); | ||
| 23 | #endif | ||
diff --git a/include/linux/platform/tegra/safety/tegra_nv_guard_group_id.h b/include/linux/tegra_nv_guard_group_id.h index 9e1d51e8d..9e1d51e8d 100644 --- a/include/linux/platform/tegra/safety/tegra_nv_guard_group_id.h +++ b/include/linux/tegra_nv_guard_group_id.h | |||
diff --git a/include/linux/platform/tegra/safety/tegra_nv_guard_service_id.h b/include/linux/tegra_nv_guard_service_id.h index f2b1a0d58..f2b1a0d58 100644 --- a/include/linux/platform/tegra/safety/tegra_nv_guard_service_id.h +++ b/include/linux/tegra_nv_guard_service_id.h | |||
