Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3740397pxv; Mon, 28 Jun 2021 11:36:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwS7KDM6npuziwvLbh8wnZ/m90uzymgnUlIUp9AN6cBbNtMLuS7BbLBXJHdOOJPOLsZsZ0u X-Received: by 2002:a6b:700e:: with SMTP id l14mr180264ioc.147.1624905393208; Mon, 28 Jun 2021 11:36:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624905393; cv=none; d=google.com; s=arc-20160816; b=yOCNtnFCToFkInEuGTz2IBg+1aOAxOcJEBYiv8UavVC7UhIYLYd7EM1eOSKxy3vjib 2gV9Dg4kVApVlELqsUtRMrC5Tf995tSbdneGzGknvYyK3aI4nmJrXsI3SK1lZrqNbxR5 Y2Rvl9EeTEd9M9nn0VxAV0vdJ1OybA4g2ji6YnUipwP8dG3C/nhmygs9rphbu1VuRv5V g9UfPjmSaxChB2t4JK1rwXbOolBKdUhTbZ3mFN5Jay7woq0KE7h1rUiWLdvvNqFQpOT7 j9QcpJ6N/GduQAp/x/6GXCTmIn4glc3wtpW47iLzj2eWZ2lk6NgX9QJ8doSgeAVnARkG yz8Q== 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=hjjE5EElGly5f9HUWLF+o8OUY8Z9SiMM5bF6Nc4LhJfEmM57QpRrMSor2I1P1Thnct jeiBBuXU4Hyw/gy1H4Ts+s4VOfAawR/cF0uviAx2yb/UfuV+pIHkkxyKxroUTi0RK6U7 PCLclbw78f+5/nWPcLcW5ib15X6YY3oV8dsO0+dO2w4mFf/aPCniZIFZOu8+5BelGVnP QKn6ZQ9C3C6k1hVKaJyDArWv2qu/VRpz9Yuibs4AwINU7m0yuNuPXGGcuThWJDpaSb3f HgECVsVF0MP7q0JNvR4TYYoD9aiIr6o+yvbJFu2urLFuTTfiDLx0lLUHn/3ZGoINRIZW +pjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dinbheql; 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 a3si9741332ilr.11.2021.06.28.11.36.16; Mon, 28 Jun 2021 11:36:33 -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=dinbheql; 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 S236525AbhF1PH4 (ORCPT + 99 others); Mon, 28 Jun 2021 11:07:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:54530 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236324AbhF1OrW (ORCPT ); Mon, 28 Jun 2021 10:47:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 88D80619AD; Mon, 28 Jun 2021 14:36:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624890996; bh=iX2oTkmqyn78O4KlibLV5yCnz9KKb3Q9Wkez32DsvKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dinbheqlHj30odVm6ruDJzShTkrOemOLK5W9JS0uHStpW1MpfRZuOUWIbFkmSgsEw cEzhStWrP0LuKa6vHFjTjA5tYuNicwUsAK+KQoPHAa1pXCXFj9OnhwFFvs9HIZ8PUh ufWeqvC1Bz05Xtd/Dsxsmpb9j4fLwqzmAanHVycsfEW9fvJhRnZL38qiPcfRVprOKg By3kwfJdnXosBtXu8nuV3jP9lSwJ9ySh7HpnfVEIEI+9664KyJ3Ny28/liMAeXUaOQ Ik3cNwTWsEIEbNFfso4Gxqqfguq+N95ff3j0A+S8y1lIGCaCh9Qo8tTyyW598hgZF3 N71aLQ/qLBL1g== 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.14 06/88] HID: gt683r: add missing MODULE_DEVICE_TABLE Date: Mon, 28 Jun 2021 10:35:06 -0400 Message-Id: <20210628143628.33342-7-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210628143628.33342-1-sashal@kernel.org> References: <20210628143628.33342-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.14.238-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.14.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.14.238-rc1 X-KernelTest-Deadline: 2021-06-30T14:36+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