From: Richard Neumann <mail@xxxxxxxxxxxxxxxxxx> Updated Makefile of the AMD SFH driver. Signed-off-by: Richard Neumann <mail@xxxxxxxxxxxxxxxxxx> --- drivers/hid/amd-sfh-hid/Makefile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/hid/amd-sfh-hid/Makefile b/drivers/hid/amd-sfh-hid/Makefile index 35e704da5612..303ee8f9aac5 100644 --- a/drivers/hid/amd-sfh-hid/Makefile +++ b/drivers/hid/amd-sfh-hid/Makefile @@ -1,13 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0-or-later +# SPDX-License-Identifier: GPL-2.0 # # Makefile - AMD SFH HID drivers -# Copyright (c) 2019-2020, Advanced Micro Devices, Inc. +# Copyright (c) 2020-2021, Advanced Micro Devices, Inc. # # -obj-$(CONFIG_AMD_SFH_HID) += amd_sfh.o -amd_sfh-objs := amd_sfh_hid.o -amd_sfh-objs += amd_sfh_client.o -amd_sfh-objs += amd_sfh_pcie.o -amd_sfh-objs += hid_descriptor/amd_sfh_hid_desc.o - -ccflags-y += -I $(srctree)/$(src)/ +ccflags-m := -Werror +obj-$(CONFIG_AMD_SFH_HID) += amd-sfh-pci.o amd-sfh-hid.o +amd-sfh-hid-objs += amd-sfh-plat.o amd-sfh-hid-ll-drv.o amd-sfh-hid-reports.o -- 2.30.0