From: Dinh Nguyen Date: Wed, 2 May 2018 14:28:33 +0000 (-0500) Subject: clk: socfpga: stratix10: suppress unbinding platform's clock driver X-Git-Tag: v4.19~837^2~9^5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a61315473a93e2d36bca276f9b03738936d94a1c;p=platform%2Fkernel%2Flinux-rpi3.git 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 Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/socfpga/clk-s10.c b/drivers/clk/socfpga/clk-s10.c index 1ffe3f0..7271463 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, }, };