Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1553616pxb; Thu, 16 Sep 2021 09:47:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxr3x09cmpr+6EjjKo3U5XFPBR84rAZ20YRczZAH6ijuifBrTF6iYYGaFCAVXNoX55Oo3fR X-Received: by 2002:a17:906:c249:: with SMTP id bl9mr7211407ejb.225.1631810837263; Thu, 16 Sep 2021 09:47:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631810837; cv=none; d=google.com; s=arc-20160816; b=eHa1zZxQrFKuVWG9QfL77fjM2rCLjeGri/AK3sYNXQnnBPuUV4irgYhEDAjoheaMOK uZ+NSkE55uetmaP3kQhXKN0B+vrR9cTQWY+1ICr24kOVGm6tpMlDokcmiACVbvmwlZEw 4DFZnWn3COTp7+LYa3vKD2xwHnFXMdWKcbYdXsm1/l8WYMPStnfmycUSKxpbpet8fRTP kJHqPlhkY4Tak61Xv6aDBFOJ3sMIEvzdUHAJyci0Qa5nUsjcVcL9rKcwb98jubiJ/hUy cA/DhNWvZQF1tHyOrC4ae/Ldzk/0+8eMtG/bMqKqg3vAe0+3b/6Wo4H5ehs7huu1LRSU LsMA== 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=e/ucOdKG25ISfdYMO2GPZhTJFN0S8jSVGOhpRpUxDK6hiAZyQmVe8Ez3AhI42UsHuw ZlQM/NurB84Lt/YqG6wp6n6EExjOzwHr2qax4rZZQRyQMfoE1xEhEU2A4nMjtz2hAMJG rzpGVrheDQ+1OOpYA4nLGcwzXDeOU2LhzIbtR80p9RoyE6hVsf8alkCDXvhk6tO1HYmJ J9kjBIKFe32z7FKTgZuTyojgjKxRVFU7+Ac2gI0ILh6Cpf0eo8BFrrRmHCXQoU21dP9x 4XeqD8zzI76MCLyhOwOQYLd5t0lu7AZ8/Vwo2jjK0UJv8SJ/lG2FOgNMqLAFXmMhakkY i3gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CEAgid+j; 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 p17si4244238edy.229.2021.09.16.09.46.52; Thu, 16 Sep 2021 09:47:17 -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=CEAgid+j; 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 S244278AbhIPQp7 (ORCPT + 99 others); Thu, 16 Sep 2021 12:45:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:52388 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245023AbhIPQkC (ORCPT ); Thu, 16 Sep 2021 12:40:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A245B61A0D; Thu, 16 Sep 2021 16:23:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631809413; bh=UEgh7KQtnW5lA2hV2j533cGjH0PKuJRYcbQtdhF7p9M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CEAgid+jTx6VflKmIpgKIyrHnVICLnEGXl9BwSXUieWrDJlIXzoMHO64OfIjx01hT z377WvjZ6sG0ZwNlsSp1wgfuoHBTYTqjT1fhjdiIySVtFvygg8Eh9DLSRQ3JkXOYOm pjeRNkvMVZNFkgH8+SvuIrTNrag00HlMxXau04cY= 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.13 113/380] HID: thrustmaster: clean up Makefile and adapt quirks Date: Thu, 16 Sep 2021 17:57:50 +0200 Message-Id: <20210916155807.876930591@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155803.966362085@linuxfoundation.org> References: <20210916155803.966362085@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