diff --git a/drivers/misc/nvsciipc/Makefile b/drivers/misc/nvsciipc/Makefile index 5ef9d2fe..94082827 100644 --- a/drivers/misc/nvsciipc/Makefile +++ b/drivers/misc/nvsciipc/Makefile @@ -1,15 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-only +# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Makefile for NvSciIpc driver # -ifeq ($(CONFIG_TEGRA_OOT_MODULE),m) -ccflags-y += -DCONFIG_TEGRA_OOT_MODULE ifeq ($(CONFIG_TEGRA_VIRTUALIZATION),y) ccflags-y += -DCONFIG_TEGRA_VIRTUALIZATION endif -endif + obj-m += nvsciipc.o diff --git a/drivers/misc/nvsciipc/nvsciipc.c b/drivers/misc/nvsciipc/nvsciipc.c index b4bcc6a1..8a7d1f62 100644 --- a/drivers/misc/nvsciipc/nvsciipc.c +++ b/drivers/misc/nvsciipc/nvsciipc.c @@ -33,9 +33,7 @@ #ifdef CONFIG_TEGRA_VIRTUALIZATION #include -#ifdef CONFIG_TEGRA_OOT_MODULE #include -#endif /* CONFIG_TEGRA_OOT_MODULE */ #include #endif /* CONFIG_TEGRA_VIRTUALIZATION */