Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3837897pxv; Mon, 28 Jun 2021 14:18:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkRKKJGofTFLMh7+LlmmYE5KhvtBi0gN1XxEv41ZWs94M43DokUOuggKEo/ytm9g0uZku2 X-Received: by 2002:a92:d9c1:: with SMTP id n1mr18718961ilq.70.1624915095630; Mon, 28 Jun 2021 14:18:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624915095; cv=none; d=google.com; s=arc-20160816; b=WI+G3Pd4h9NnMjqlf2EmgfrMYy5NZG9EhnmhrNzEVJe5vXy1G4C13U+XLUp2mLnRvA rZzD9VBFxGJiei1BYtAv4DZAiAs/MN765kL+hKIcG3q39Pf2jrw5jzvZ8CiU80901ZW7 St6eUUTHkYVpqzgt2p++H2oNwPBbudUycgo/lX2NkdU7Qw3ZHH+5XXh0POsy6dR+WuA7 XVTqjKt2ecINrVDcSfAPgSIb9J6zRcDKJvp7ssX0+XmU8X842M/6V3cEna2Ale0VNMh2 8Ejs1P+MbMnZIrj8RXd0pQzq4JFZbiUE0sN2j461nCCzKwRdmvp/K1OhbaGeoJlWDkTg uoWQ== 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=VA1VHeTQ0TIqhruYplWmq05EgYG18ysu5tqXOKfX8Ev4sIcorwDhcgEV63prHIbjYC l1cRNOOGJDzszjqpuBwun2rtn7+pCKmHasrzVNLbbnbBWaa7gD2ITD90QpSiqPBwsXPU jBlAs/JVc7ZXRuchXwKX2kJvrRKQom5u3NE2C03tIk2Hj0pv3sCMQsmaxetxazL3j95Y Hji8u2WZMrMxmPKwey+a2Pbk5V0k0RTd33hRPshEtbfjlXdtXchamH/csjOZhpVnMdrI 3bYbrnaWP2tFnIFkKDrWuGJo9pRgGaywIP58wHACeK/+z3XgUO5Z2D3AyNmZnivFRGEn k+Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XmXzMSAe; 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 x9si18930908jaf.48.2021.06.28.14.17.59; Mon, 28 Jun 2021 14:18:15 -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=XmXzMSAe; 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 S233744AbhF1PSq (ORCPT + 99 others); Mon, 28 Jun 2021 11:18:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:59412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236942AbhF1O41 (ORCPT ); Mon, 28 Jun 2021 10:56:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F1FFE61C7D; Mon, 28 Jun 2021 14:40:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624891210; bh=iX2oTkmqyn78O4KlibLV5yCnz9KKb3Q9Wkez32DsvKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XmXzMSAeUDqoc/nnXAv59J+NwvS2MPwNOPKT1SjKKzyQo9PkH/c0e86Oan/8bKtOM Sz5GR0incxYPTqYZSRjSFyuWckpGsFOlnY0FxV5XQQB6p9/Wt6t875MNynVniGU7f7 8HtxPB1UpgzDJCHINXW7lV3GiVHBTN84v6ziU0UtsUgHD6Yvx6UVpJIj3akLZsDtae 47XmTnvOkphq8T+0w/eEn5caJqpqnVxURGeOG5K3EI7O366CiXPWfyWgLSVEUYeHQj Ui7mYF/2kdLOJnz1qXk7sZUMpuznNkFQRgySUJ05aMU5uI+zyNS1MWMVmNePvx/cOy 2puyE7ELsDDSg== 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.9 06/71] HID: gt683r: add missing MODULE_DEVICE_TABLE Date: Mon, 28 Jun 2021 10:38:58 -0400 Message-Id: <20210628144003.34260-7-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210628144003.34260-1-sashal@kernel.org> References: <20210628144003.34260-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.274-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.9.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.9.274-rc1 X-KernelTest-Deadline: 2021-06-30T14:39+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