Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1900452pxb; Thu, 16 Sep 2021 19:35:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqa3xYODEuhYLmCvWTxrxN7KcCIQ0+Ykn3YteA6RAK1T2SDWLjEpzz2KJ9533uH/EpJuL8 X-Received: by 2002:a5d:8b59:: with SMTP id c25mr6701086iot.190.1631846137683; Thu, 16 Sep 2021 19:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631846137; cv=none; d=google.com; s=arc-20160816; b=V6Yboj2auxY9skolMq9f4Hg5D9XNBuCYBGhAWezn8sGStxUBTymPKM5MIdMvb4n2KD /aMqFYZDd62+D/noqtu5LuFk42JO/HTlrBokpyct3u/iPCGFPfZKMibND6Noxz4FoSsP 9Y4paQO+4gFSqcfJRKbG7leWyOm4JZwIueuQwwGMJsvOF1SS0AdfwbQjhsHsL2Wr5QDY kXtwZMWKEq7R2e9cLotDu4mWeTT9I1VzCutgwTLPwllKIAqU9ZY9iDu+GmuR8+3Duiyp ct3MaAqoiUYweU1fleKCMZZylV9qlA21siGCxodmcwzQ692pDuogPlUDPRbEKZgzk1wY joVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=lNK7vK8iwOfJNhN89ucZOvGcse1ECZIXro0/bDkZMLE=; b=PXgts3HLCXqvTMK6Vv+r2CnFB+EiSx/Ywr41Dw4buD99u8Z/AUZRc+LW7ZKrfqEYEq 29PnKadzCLa0OinAfMdA7SzjX5k9fp2xWbVu4NY9AW4PFHXuBEcjzaK/r//hSkHJFW1c 4HX2hQzE9s2PcgvkxBlnHz+0Ko1NytpYalPWoRoia3l0dBEbfoY/C4iZaxlbSU2xtB1V Z84frGevVjhmy6kWhvfXVLzwN/ec0Q2JSJtkl1ihKJ5GatY3joK4ebh2ZL7Z/0t/fJMt Iu9mWShLyb0P+GKtCYrlM7fVg6dzJLuec0F2ROrtOZFkMZcGUyJ6nd6PAuo/gNqLKQlL 3pSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=17+jl6bX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b11si4503109ilj.89.2021.09.16.19.35.25; Thu, 16 Sep 2021 19:35:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=17+jl6bX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352446AbhIPRYa (ORCPT + 99 others); Thu, 16 Sep 2021 13:24:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:41429 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344027AbhIPRQJ (ORCPT ); Thu, 16 Sep 2021 13:16:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B91F361BBF; Thu, 16 Sep 2021 16:40:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631810420; bh=UEgh7KQtnW5lA2hV2j533cGjH0PKuJRYcbQtdhF7p9M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=17+jl6bXhO5A7yfCnzUlXm1GIw+pmpdh+e3q6UDZ9aGBjqWaM4fJFw/3oY/7Hbd56 dBmHE/MSzAZq2UyTvTPXKgufzHqVXBiYFruj+bbapGef6QCDrufnJZuQ8Sb3yyCjWW wc4iNFGzpEd4m+stMGm7Hxu9AbzvV6gCrKad7y+A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lukas Bulwahn , Jiri Kosina , Sasha Levin Subject: [PATCH 5.14 127/432] HID: thrustmaster: clean up Makefile and adapt quirks Date: Thu, 16 Sep 2021 17:57:56 +0200 Message-Id: <20210916155815.063006612@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155810.813340753@linuxfoundation.org> References: <20210916155810.813340753@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lukas Bulwahn [ Upstream commit 462ba66198a4a8ea996028915af10a698086e302 ] Commit c49c33637802 ("HID: support for initialization of some Thrustmaster wheels") messed up the Makefile and quirks during the refactoring of this commit. Luckily, ./scripts/checkkconfigsymbols.py warns on non-existing configs: HID_TMINIT Referencing files: drivers/hid/Makefile, drivers/hid/hid-quirks.c Following the discussion (see Link), CONFIG_HID_THRUSTMASTER is the intended config for CONFIG_HID_TMINIT and the file hid-tminit.c was actually added as hid-thrustmaster.c. So, clean up Makefile and adapt quirks to that refactoring. Fixes: c49c33637802 ("HID: support for initialization of some Thrustmaster wheels") Link: https://lore.kernel.org/linux-input/CAKXUXMx6dByO03f3dX0X5zjvQp0j2AhJBg0vQFDmhZUhtKxRxw@mail.gmail.com/ Signed-off-by: Lukas Bulwahn Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/Makefile | 1 - drivers/hid/hid-quirks.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile index 1ea1a7c0b20f..e29efcb1c040 100644 --- a/drivers/hid/Makefile +++ b/drivers/hid/Makefile @@ -115,7 +115,6 @@ obj-$(CONFIG_HID_STEELSERIES) += hid-steelseries.o obj-$(CONFIG_HID_SUNPLUS) += hid-sunplus.o obj-$(CONFIG_HID_GREENASIA) += hid-gaff.o obj-$(CONFIG_HID_THRUSTMASTER) += hid-tmff.o hid-thrustmaster.o -obj-$(CONFIG_HID_TMINIT) += hid-tminit.o obj-$(CONFIG_HID_TIVO) += hid-tivo.o obj-$(CONFIG_HID_TOPSEED) += hid-topseed.o obj-$(CONFIG_HID_TWINHAN) += hid-twinhan.o diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c index 51b39bda9a9d..2e104682c22b 100644 --- a/drivers/hid/hid-quirks.c +++ b/drivers/hid/hid-quirks.c @@ -662,8 +662,6 @@ static const struct hid_device_id hid_have_special_driver[] = { { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb653) }, { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654) }, { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb65a) }, -#endif -#if IS_ENABLED(CONFIG_HID_TMINIT) { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb65d) }, #endif #if IS_ENABLED(CONFIG_HID_TIVO) -- 2.30.2