blob: ee3823bca1f73a7f928460f1ba4c21557d1c5f45 [file] [log] [blame]
From b3841ad35d269824002312274e011f0bb276dbf0 Mon Sep 17 00:00:00 2001
From: Dinh Nguyen <dinguyen@kernel.org>
Date: Wed, 2 May 2018 09:28:33 -0500
Subject: [PATCH 1631/1795] 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>
(cherry picked from commit a61315473a93e2d36bca276f9b03738936d94a1c)
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/clk/socfpga/clk-s10.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/socfpga/clk-s10.c b/drivers/clk/socfpga/clk-s10.c
index 1ffe3f05f2fc..72714633e39c 100644
--- a/drivers/clk/socfpga/clk-s10.c
+++ b/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,
},
};
--
2.19.0