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-mt8192-ipe.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-mt8192-ipe.c')
-rw-r--r-- | drivers/clk/mediatek/clk-mt8192-ipe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/mediatek/clk-mt8192-ipe.c b/drivers/clk/mediatek/clk-mt8192-ipe.c index 3fd37977ea16..dee671ae38e6 100644 --- a/drivers/clk/mediatek/clk-mt8192-ipe.c +++ b/drivers/clk/mediatek/clk-mt8192-ipe.c @@ -45,6 +45,7 @@ static const struct of_device_id of_match_clk_mt8192_ipe[] = { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, of_match_clk_mt8192_ipe); static struct platform_driver clk_mt8192_ipe_drv = { .probe = mtk_clk_simple_probe, |