浏览代码

clk: socfpga: stratix10: suppress unbinding platform's clock driver

The Stratix10 clock driver is essential to system operation, so their
removal should never happen.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Dinh Nguyen 7 年之前
父节点
当前提交
a61315473a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/clk/socfpga/clk-s10.c

+ 1 - 0
drivers/clk/socfpga/clk-s10.c

@@ -329,6 +329,7 @@ static struct platform_driver stratix10_clkmgr_driver = {
 	.probe		= s10_clkmgr_probe,
 	.driver		= {
 		.name	= "stratix10-clkmgr",
+		.suppress_bind_attrs = true,
 		.of_match_table = stratix10_clkmgr_match_table,
 	},
 };