From cc389c145d59b503490c6fd53c144a6afc3c0a67 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Wed, 26 Apr 2023 06:19:47 +0000 Subject: [PATCH] gpu: host1x: Get rid of explicit header inclusion The required headers for gpu/host1x driver are already included in the master makefile. Hence, it is not required to add include path explicitly. Bug 4087103 Change-Id: Ib359e1e19b8837d41c0129d478dc4848d51ce7ee Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2894612 Reviewed-by: svcacv Reviewed-by: Mikko Perttunen GVS: Gerrit_Virtual_Submit --- drivers/gpu/host1x-fence/Makefile | 9 ++------- drivers/gpu/host1x-nvhost/Makefile | 9 ++------- drivers/gpu/host1x/Makefile | 7 ++----- 3 files changed, 6 insertions(+), 19 deletions(-) diff --git a/drivers/gpu/host1x-fence/Makefile b/drivers/gpu/host1x-fence/Makefile index fc1dbc5a..4f15cabb 100644 --- a/drivers/gpu/host1x-fence/Makefile +++ b/drivers/gpu/host1x-fence/Makefile @@ -1,13 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only +# Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. # # Tegra Host1x-fence Driver. -# -# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. -# -ccflags-y += -I$(srctree.nvidia)/include -ccflags-y += -I$(srctree.nvidia)/include/uapi/linux -ccflags-y += -I$(srctree.nvidia)/drivers/gpu/host1x/include ccflags-y += -DCONFIG_TEGRA_HOST1X ccflags-y += -Werror diff --git a/drivers/gpu/host1x-nvhost/Makefile b/drivers/gpu/host1x-nvhost/Makefile index 48bd9441..9cab78f0 100644 --- a/drivers/gpu/host1x-nvhost/Makefile +++ b/drivers/gpu/host1x-nvhost/Makefile @@ -1,13 +1,8 @@ -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only +# Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. # # Tegra Host1x-Nvhost Driver. -# -# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. -# -ccflags-y += -I$(srctree.nvidia)/include -ccflags-y += -I$(srctree.nvidia)/include/uapi/linux -ccflags-y += -I$(srctree.nvidia)/drivers/gpu/host1x/include ccflags-y += -DCONFIG_TEGRA_HOST1X ccflags-y += -Werror diff --git a/drivers/gpu/host1x/Makefile b/drivers/gpu/host1x/Makefile index affedf2c..07026c55 100644 --- a/drivers/gpu/host1x/Makefile +++ b/drivers/gpu/host1x/Makefile @@ -1,8 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0 - -srctree.host1x := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST)))) - -ccflags-y := -I$(srctree.host1x)/include +# SPDX-License-Identifier: GPL-2.0-only +# Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. host1x-next-y = \ bus.o \