clk: socfpga: stratix10: suppress unbinding platform's clock driver
authorDinh Nguyen <dinguyen@kernel.org>
Wed, 2 May 2018 14:28:33 +0000 (09:28 -0500)
committerStephen Boyd <sboyd@kernel.org>
Tue, 15 May 2018 21:54:52 +0000 (14:54 -0700)
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>
drivers/clk/socfpga/clk-s10.c

index 1ffe3f0..7271463 100644 (file)
@@ -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,
        },
 };