]> git.dujemihanovic.xyz Git - linux.git/commit
clk: mediatek: clk-apmixed: Remove unneeded __init annotation
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 21 Sep 2022 09:14:52 +0000 (11:14 +0200)
committerChen-Yu Tsai <wenst@chromium.org>
Mon, 26 Sep 2022 03:13:09 +0000 (11:13 +0800)
commit85b2181c285c9d6348704db98d6e40f5c2c93c01
treec2f3de26ca10eccdba696716324b36204fd71e7c
parente629bf40d33cd469faace0ec57f6a55ac097f768
clk: mediatek: clk-apmixed: Remove unneeded __init annotation

Remove an unneeded __init annotation from the declaration of function
mtk_clk_register_ref2usb_tx(): this avoids section mismatch warnings
during modpost phase when called from functions that have no such
annotation (useful when clocks are platform drivers).

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Miles Chen <miles.chen@mediatek.com>
Link: https://lore.kernel.org/r/20220921091455.41327-6-angelogioacchino.delregno@collabora.com
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
drivers/clk/mediatek/clk-apmixed.c