Skip to content

Commit dedceb2

Browse files
changhuangliangbebarino
authored andcommitted
clk: starfive: jh7110-pll: Mark the probe function as __init
Mark the jh7110_pll_probe function as __init. There's no need to support hotplugging in the jh7110-pll driver. We use builtin_platform_driver_probe, the probe function will only be called at startup. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com> Link: https://lore.kernel.org/r/20241029032828.238706-1-changhuang.liang@starfivetech.com Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Reviewed-by: Xingyu Wu <xingyu.wu@starfivetech.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 00f8f70 commit dedceb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/starfive/clk-starfive-jh7110-pll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ static struct clk_hw *jh7110_pll_get(struct of_phandle_args *clkspec, void *data
453453
return ERR_PTR(-EINVAL);
454454
}
455455

456-
static int jh7110_pll_probe(struct platform_device *pdev)
456+
static int __init jh7110_pll_probe(struct platform_device *pdev)
457457
{
458458
struct jh7110_pll_priv *priv;
459459
unsigned int idx;

0 commit comments

Comments
 (0)