Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3866004pxv; Mon, 28 Jun 2021 15:07:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7sMG4Gi803QEdbSt/cx17BROWmA3DPKE8pVdbKXhTJUxcyJ9dHmroRv9RJa2ntJAPeeIc X-Received: by 2002:a05:6e02:109:: with SMTP id t9mr19312433ilm.235.1624918073236; Mon, 28 Jun 2021 15:07:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624918073; cv=none; d=google.com; s=arc-20160816; b=jxCrQoDO2y01YMv7ZmtoqaotE/VOVraDhJsM5bx65jVbEZxgrRPPKwWSzk1rl4c1K+ iEgK+bAaNSY24/R5nuAonj3xRXLuuYg6V1+J311ixLxAtCVctdttHb6zrMrKKPU3/NyA XJg3ENdHxuVMEfa3TwGWvk4n4NXO7Y1MQfgxW9imfjocM+hzMGJAXkyu7MbH45GWV3/n eaJ6KdmOjEoptpt07uiA3GceCRGJe+KVO4qcWk904ISAidwImjfaYCvAh4jwC3Kj5mf8 FtHCG85GMFqueFtG1oo9HwzngJAqEA8vHJ3i2GrRpMWJhebQHvMde8VQIBfpi8ZZelRT wWdQ== 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=4Njdm8t3KwK2EbC+y3SftZ0DrC2dtzYoaruY/qQmxlc=; b=VSuUUtB3tZ83ehimMl70ccvy2jIyltHVUMYrD1ZK8OA21iGLSt2mF4ox7fLkuak5fe H8PHQQUbbf7h2fn4cck/0jkEHrwUSZrvS4KrUYjna7NnxBGZNbW1+jHzLZ+Cx1sc6G4M kK8PskZ6CBEsOBSwy0cAOKIAWjOkgLp7ww+OGkl0FWnDPrD2uAdDqnZc8mRskd9VuuZl AdCuEh32CVqnfxMWUIv0eJVEPZgojkP4tKzRYnPUpqnbXBGoeN2cqimdqKPo1FBbr3T4 Evi8bv9pLm7eZ+kc0yaRpP9HQYIXbn+401Ch57XmnTo3jamDCNjuYG9xkD7WfxqgrQy4 mqBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T0xv+uHJ; 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 a10si4695085ion.48.2021.06.28.15.07.40; Mon, 28 Jun 2021 15:07:53 -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=T0xv+uHJ; 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 S234473AbhF1P1W (ORCPT + 99 others); Mon, 28 Jun 2021 11:27:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:36566 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236766AbhF1PCi (ORCPT ); Mon, 28 Jun 2021 11:02:38 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 54CC761984; Mon, 28 Jun 2021 14:43:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624891382; bh=HwpxsgAChI3appF7vYXNAKvtNsTrqaZtbpQMfXgyQ8M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T0xv+uHJNvBl/Tbo0ZWK4aSdZXftZslOKg/5czyYvZWtDnv1pbehotPBR3lim3sol kwDqu1gNklf+jpQAAhtbyVd/7mMIGwWjriftTyvBnWSCR+AWEl1mYw47wAD8C3FKNA Qow2w8Gkgdh1PIVN0TY4EO6kmhbAl/ZMDlTU8GFPJ8OOHgxQ6A32KfhtjzPmItFhyl jEsUl1LOCofh/dHfujgyFw4l4EOQhQSSAQkPksGy6iLry/swpXHzMGrXZq0LERa1Xb bexXHnbXbh3/a5BsKQ7etSDUCn6Xc0oAf1OmjC801jrBQTBPc19Z44hLls9cRwgOgz 9fyh9Q9yl5Jzw== 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.4 05/57] HID: gt683r: add missing MODULE_DEVICE_TABLE Date: Mon, 28 Jun 2021 10:42:04 -0400 Message-Id: <20210628144256.34524-6-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210628144256.34524-1-sashal@kernel.org> References: <20210628144256.34524-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.4.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.4.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.4.274-rc1 X-KernelTest-Deadline: 2021-06-30T14:42+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 0d6f135e266c..2991957bbb7f 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