mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvsciipc: Get rid of explicit handling of CONFIG_TEGRA_OOT_MODULE
The nvsciipc driver inside nvidia-oot is always build as module and hence it is not required to handle the non-defined case of CONFIG_TEGRA_OOT_MODULE. Bug 4074863 Change-Id: If1e911a3702625eee635446446eeb98f27e74ebe Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2890059 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
047b25816e
commit
2f11adce1f
@@ -1,15 +1,13 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#
|
#
|
||||||
# Makefile for NvSciIpc driver
|
# Makefile for NvSciIpc driver
|
||||||
#
|
#
|
||||||
|
|
||||||
ifeq ($(CONFIG_TEGRA_OOT_MODULE),m)
|
|
||||||
ccflags-y += -DCONFIG_TEGRA_OOT_MODULE
|
|
||||||
ifeq ($(CONFIG_TEGRA_VIRTUALIZATION),y)
|
ifeq ($(CONFIG_TEGRA_VIRTUALIZATION),y)
|
||||||
ccflags-y += -DCONFIG_TEGRA_VIRTUALIZATION
|
ccflags-y += -DCONFIG_TEGRA_VIRTUALIZATION
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
obj-m += nvsciipc.o
|
obj-m += nvsciipc.o
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_TEGRA_VIRTUALIZATION
|
#ifdef CONFIG_TEGRA_VIRTUALIZATION
|
||||||
#include <soc/tegra/virt/syscalls.h>
|
#include <soc/tegra/virt/syscalls.h>
|
||||||
#ifdef CONFIG_TEGRA_OOT_MODULE
|
|
||||||
#include <soc/tegra/virt/hv-ivc.h>
|
#include <soc/tegra/virt/hv-ivc.h>
|
||||||
#endif /* CONFIG_TEGRA_OOT_MODULE */
|
|
||||||
#include <uapi/linux/tegra-ivc-dev.h>
|
#include <uapi/linux/tegra-ivc-dev.h>
|
||||||
#endif /* CONFIG_TEGRA_VIRTUALIZATION */
|
#endif /* CONFIG_TEGRA_VIRTUALIZATION */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user