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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Emil Renner Berthing <[email protected]> Reviewed-by: Xingyu Wu <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 00f8f70 commit dedceb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)