Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3777160pxv; Mon, 28 Jun 2021 12:36:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZMUgE1p7b8v00TgYUWLpkMrNN0CxQTRN0++vWa8aNu05t7OW8LKYjVFWRiIkm5c93u6Ml X-Received: by 2002:a5e:d512:: with SMTP id e18mr826225iom.149.1624908965439; Mon, 28 Jun 2021 12:36:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624908965; cv=none; d=google.com; s=arc-20160816; b=ROIPnmvTUuf9WXXbC7ocMzSx9mNPuERL8addZ0zunN8x6iYPhR8ZKrX3m1u3GVqlxU P1X//ihPkwLNiWouKLYPTlsQgE0TuhKD16M4YaJY2UDG14NOQs25rkbvhSkvUAM33D2V MgTWPOMzuRrJC2C/POQ/yknGh0Y4m2RKLDpmUqCztDxxo/sA84+02s/nnXSZDs4Ba8cX egwok8sPQYhPCz2tbjeTsvYEpg66LiBOamXchz8NiZnb1Xy/CLiEYlKE9YjrvV3/ienf 2pY75z9d6vvpO2V9VFQGlBpAQIf08Z0Dl7VM1HXNsXgVp5qj2iHAFcWqyVzA3QBORukM o07w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EIMknHsjYsAqa2nwna1ZDJgFDMKvlioD6zocO67Gp8Q=; b=ODkbIQ02Qb+mrhPlKd9ksQjNNGe4QTpC3Satd1qdGGx8pxXXYJrLL9zvXN9SB1hVBN d4+wAX7lgyPN82wC+gcpNm9BkL5bTbkLDmdkgNY9nZvf6Ff+suRpGfhD9CEEb4U99Pas d6JsRsyChtyiU9ujC6dAF8Vc9NQXLzIjYcDsXv2jWV+WX9XZBxfDcaQ6CxKtIJBBeUEw SVxrBbDCmiLdkm2QF1CJdMOzFSE/5tEnsBTKxoVUAvz3IyvBt/5KzQALlX5KrpDLej/2 haGsNTiUxUN6Ftzl3CiD3EtPDoD3rfBAzKaVTW+odL8j/4OjcimyVjOE8b/kup3NpCay wD3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S8odx4f6; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si3653967iow.77.2021.06.28.12.35.51; Mon, 28 Jun 2021 12:36:05 -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=@kernel.org header.s=k20201202 header.b=S8odx4f6; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235307AbhF1Oxf (ORCPT + 99 others); Mon, 28 Jun 2021 10:53:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:43894 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235517AbhF1OkD (ORCPT ); Mon, 28 Jun 2021 10:40:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0087761C7B; Mon, 28 Jun 2021 14:33:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624890794; bh=iX2oTkmqyn78O4KlibLV5yCnz9KKb3Q9Wkez32DsvKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S8odx4f67RaslSOve1kddhwZzVwZE9JmVM32Jsbow8rNK0dpBVctxWRFk9ym1DYJE JnlibUEyNDTV3zPrcV7+26KMrOsOBuHLeqLWBgGh5wdcJ5BmchKgr3HRCNKTaJXNwW G2VdipkdB626jtuhp6s4vv6BM6RrDyAelthxGS6sW0Ok5mT4hSLpJ3jIs1JbJkV4cm EGIyzVBRs4JTsHWKn2CbFS0EOIoBJUwVIcwJ35pqXPMNCgZjWYBW9tArJGp1FY7YdC W87Eg3tyzd46VguPgDBNbWd/GFH6BcSLrdIfe/jpakbryxBA+1aPz6b9O/SZsB+onA wjiTAhk+0NymA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Bixuan Cui , Hulk Robot , Jiri Kosina , Sasha Levin Subject: [PATCH 4.19 008/109] HID: gt683r: add missing MODULE_DEVICE_TABLE Date: Mon, 28 Jun 2021 10:31:24 -0400 Message-Id: <20210628143305.32978-9-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210628143305.32978-1-sashal@kernel.org> References: <20210628143305.32978-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.196-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.19.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.19.196-rc1 X-KernelTest-Deadline: 2021-06-30T14:32+00:00 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bixuan Cui [ Upstream commit a4b494099ad657f1cb85436d333cf38870ee95bc ] This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Reported-by: Hulk Robot Signed-off-by: Bixuan Cui Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-gt683r.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-gt683r.c b/drivers/hid/hid-gt683r.c index a298fbd8db6b..8ca4c1baeda8 100644 --- a/drivers/hid/hid-gt683r.c +++ b/drivers/hid/hid-gt683r.c @@ -64,6 +64,7 @@ static const struct hid_device_id gt683r_led_id[] = { { HID_USB_DEVICE(USB_VENDOR_ID_MSI, USB_DEVICE_ID_MSI_GT683R_LED_PANEL) }, { } }; +MODULE_DEVICE_TABLE(hid, gt683r_led_id); static void gt683r_brightness_set(struct led_classdev *led_cdev, enum led_brightness brightness) -- 2.30.2