]> git.baikalelectronics.ru Git - kernel.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)
commite3db65f75c993d8eb43600c65a682d0f230f4125
treec2f3de26ca10eccdba696716324b36204fd71e7c
parentf9148b7eb50234ca452bdc23d26e44e032cca67c
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