diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-07-05 08:17:05 +0800 |
|---|---|---|
| committer | Abel Vesa <abel.vesa@oss.qualcomm.com> | 2026-07-28 14:36:43 +0300 |
| commit | cd21fdcbef3fb32136f72075ab668b075423b3f6 (patch) | |
| tree | 050a1c6c59c765b0f9af377cb0b5f91ba5588a89 | |
| parent | e89485455ac49925565061733c0d73d568333fc0 (diff) | |
| download | linux-next-cd21fdcbef3fb32136f72075ab668b075423b3f6.tar.gz linux-next-cd21fdcbef3fb32136f72075ab668b075423b3f6.zip | |
clk: imx: imx8qxp: add missing MODULE_DEVICE_TABLE()
The driver has a match table for the of 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>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Link: https://patch.msgid.link/20260705001705.70400-1-pengpeng@iscas.ac.cn
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
| -rw-r--r-- | drivers/clk/imx/clk-imx8qxp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk-imx8qxp.c b/drivers/clk/imx/clk-imx8qxp.c index c781425a005e..1f6d9f45dad7 100644 --- a/drivers/clk/imx/clk-imx8qxp.c +++ b/drivers/clk/imx/clk-imx8qxp.c @@ -337,6 +337,7 @@ static const struct of_device_id imx8qxp_match[] = { { .compatible = "fsl,imx8qm-clk", &imx_clk_scu_rsrc_imx8qm, }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, imx8qxp_match); static struct platform_driver imx8qxp_clk_driver = { .driver = { |
