LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Dinh Nguyen <dinguyen@kernel.org>
To: linux-clk@vger.kernel.org
Cc: dinguyen@kernel.org, sboyd@kernel.org, mturquette@baylibre.com,
	linux-kernel@vger.kernel.org
Subject: [PATCH 2/2] clk: socfpga: stratix10: suppress unbinding platform's clock driver
Date: Wed,  2 May 2018 09:28:33 -0500	[thread overview]
Message-ID: <1525271313-24427-2-git-send-email-dinguyen@kernel.org> (raw)
In-Reply-To: <1525271313-24427-1-git-send-email-dinguyen@kernel.org>

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

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
 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 c788997..3c953ca 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.7.4

  reply	other threads:[~2018-05-02 14:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02 14:28 [PATCH 1/2] clk: socfpga: stratix10: use platform driver APIs Dinh Nguyen
2018-05-02 14:28 ` Dinh Nguyen [this message]
2018-05-15 21:53   ` [PATCH 2/2] clk: socfpga: stratix10: suppress unbinding platform's clock driver Stephen Boyd
2018-05-15 21:53 ` [PATCH 1/2] clk: socfpga: stratix10: use platform driver APIs Stephen Boyd
2018-05-15 21:55 ` Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1525271313-24427-2-git-send-email-dinguyen@kernel.org \
    --to=dinguyen@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@kernel.org \
    --subject='Re: [PATCH 2/2] clk: socfpga: stratix10: suppress unbinding platform'\''s clock driver' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).