From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cstnet.cn (smtp25.cstnet.cn [159.226.251.25]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 796FB363097; Sat, 4 Jul 2026 15:17:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.226.251.25 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783178258; cv=none; b=DZXGDkJ9INgAPwQRIic4JbND5zUCXUCrP+Insq+a1oRwg5zvPG8ZqmhSwgUqkB6ysO2O1KWF7UuUBGus4vJnP/K2WsyfyOaOucVGglZi9jkNmvHJzkGS7rvZ1LRkLTE7+njKaOuK78HTdjGvEjLqpStCTQJbh/k8yK+IbxVqts0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783178258; c=relaxed/simple; bh=sB/qaiekYtpnzZqLZxrWLJjVbTxmY88R1dcIMZ+WlJs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XBNLs10CjsWbwwJ96uGbSUNReZOki301FexvN3avyRKPfxB2l7TNZLwPgxqxApIMRPxwM7fAdQOihRQc31UzUWAQRAttBlDvcanV0pjBDcE2iQgO+PAAF5CJWZMfJgTyLrfAu4pqjh4vySZlShDAscJLlhODnJXX8e1X3R3zOuE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iscas.ac.cn; spf=pass smtp.mailfrom=iscas.ac.cn; arc=none smtp.client-ip=159.226.251.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iscas.ac.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=iscas.ac.cn Received: from localhost.localdomain (unknown [111.196.245.140]) by APP-05 (Coremail) with SMTP id zQCowABXrdAMJElqo3TbFg--.46885S2; Sat, 04 Jul 2026 23:17:32 +0800 (CST) From: Pengpeng Hou To: Dmitry Torokhov Cc: Pengpeng Hou , linux-input@vger.kernel.org (open list:INPUT (KEYBOARD, MOUSE, JOYSTICK, TOUCHSCREEN)...), linux-kernel@vger.kernel.org Subject: [PATCH] Input: ims-pcu - add missing MODULE_DEVICE_TABLE() Date: Sat, 4 Jul 2026 23:17:30 +0800 Message-ID: <20260704151730.42772-1-pengpeng@iscas.ac.cn> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:zQCowABXrdAMJElqo3TbFg--.46885S2 X-Coremail-Antispam: 1UD129KBjvdXoW7JFWktrWrZr4UtryUKw4fGrg_yoWDurX_ur yFqws7WrW0k3yrKrnxGrnxZryvkw4kWr93JryIqFn8ta4Iyw13G3WvgFnxAw4UXr18JF98 Jr9rWFy0krZrKjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb4AFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr0_ Cr1l84ACjcxK6I8E87Iv67AKxVWxJr0_GcWl84ACjcxK6I8E87Iv6xkF7I0E14v26rxl6s 0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xII jxv20xvE14v26r126r1DMcIj6I8E87Iv67AKxVWxJVW8Jr1lOx8S6xCaFVCjc4AY6r1j6r 4UM4x0Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCY1x0264kExVAvwVAq 07x20xyl42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67 AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r126r1DMIIY rxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14 v26r4j6F4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWxJVW8 Jr1lIxAIcVC2z280aVCY1x0267AKxVWxJr0_GcJvcSsGvfC2KfnxnUUI43ZEXa7VUj7DG5 UUUUU== X-CM-SenderInfo: pshqw1xhqjqxpvfd2hldfou0/ The driver has a match table for the usb bus wired into its driver structure, but the table is not exported with MODULE_DEVICE_TABLE(). Add the missing MODULE_DEVICE_TABLE() entry so module alias information is generated for automatic module loading. This is a source-level fix. It does not claim dynamic hardware reproduction; the evidence is the driver-owned match table, its use by the driver registration structure, and the missing module alias publication. Signed-off-by: Pengpeng Hou --- drivers/input/misc/ims-pcu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/misc/ims-pcu.c b/drivers/input/misc/ims-pcu.c index f69de9762c4e..687911d20ecf 100644 --- a/drivers/input/misc/ims-pcu.c +++ b/drivers/input/misc/ims-pcu.c @@ -2119,6 +2119,7 @@ static const struct usb_device_id ims_pcu_id_table[] = { }, { } }; +MODULE_DEVICE_TABLE(usb, ims_pcu_id_table); static const struct attribute_group *ims_pcu_sysfs_groups[] = { &ims_pcu_attr_group, -- 2.53.0