]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
can: ctucanfd: add missing MODULE_DEVICE_TABLE()
authorPengpeng Hou <pengpeng@iscas.ac.cn>
Sat, 4 Jul 2026 15:19:57 +0000 (23:19 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 29 Jul 2026 09:26:58 +0000 (11:26 +0200)
commitd937bdb244a751fe5967052ea2d64a7b2c476cc0
tree65f3842e53e4b7381899f0eb70e90ba19f40aded
parentc31a435933f18be0f874302161333e9f16e200a0
can: ctucanfd: add missing MODULE_DEVICE_TABLE()

The driver has a match table for the pci 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 <pengpeng@iscas.ac.cn>
Acked-by: Pavel Pisa <pisa@fel.cvut.cz>
Link: https://patch.msgid.link/20260704151957.48194-1-pengpeng@iscas.ac.cn
Fixes: 792a5b678e81 ("can: ctucanfd: CTU CAN FD open-source IP core - PCI bus support.")
Cc: stable@kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/ctucanfd/ctucanfd_pci.c