diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2023-03-06 15:05:38 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2023-03-13 19:50:18 +0100 |
commit | 65c9ad77cbc0eed78db94d80041aba675cfbdfa9 (patch) | |
tree | 7200a32f72f2bf8ba1ae9a6a5e612d17f716d3db /drivers/clk/mediatek/clk-mt2701-vdec.c | |
parent | clk: mediatek: Kconfig: Allow module build for core mt8192 clocks (diff) | |
download | linux-65c9ad77cbc0eed78db94d80041aba675cfbdfa9.tar.xz linux-65c9ad77cbc0eed78db94d80041aba675cfbdfa9.zip |
clk: mediatek: Add MODULE_DEVICE_TABLE() where appropriate
Add a MODULE_DEVICE_TABLE() on all clocks that can be built as modules
to allow auto-load at boot.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: Miles Chen <miles.chen@mediatek.com>
Tested-by: Chen-Yu Tsai <wenst@chromium.org> # MT8183, MT8192, MT8195 Chromebooks
Link: https://lore.kernel.org/r/20230306140543.1813621-50-angelogioacchino.delregno@collabora.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mt2701-vdec.c')
-rw-r--r-- | drivers/clk/mediatek/clk-mt2701-vdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/mediatek/clk-mt2701-vdec.c b/drivers/clk/mediatek/clk-mt2701-vdec.c index dca4335a52a7..b7f97bc51c16 100644 --- a/drivers/clk/mediatek/clk-mt2701-vdec.c +++ b/drivers/clk/mediatek/clk-mt2701-vdec.c @@ -48,6 +48,7 @@ static const struct of_device_id of_match_clk_mt2701_vdec[] = { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, of_match_clk_mt2701_vdec); static struct platform_driver clk_mt2701_vdec_drv = { .probe = mtk_clk_simple_probe, |