All of
 help / color / mirror / Atom feed
From: Stephen Boyd <>
To: Michael Turquette <>,
	Stephen Boyd <>
Subject: [PATCH 1/2] clk: Remove ifdef for COMMON_CLK in clk-provider.h
Date: Tue, 25 Jun 2019 21:15:01 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

This ifdef has been there since the beginning of this file, but it
doesn't really seem to serve any purpose besides obfuscating the struct
definitions and #defines here from compilation units that include it.
Let's always expose these function prototypes and struct definitions so
that code can inspect clk providers without needing to have

Signed-off-by: Stephen Boyd <>
 include/linux/clk-provider.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index bb6118f79784..3bced2ec9f26 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -9,8 +9,6 @@
 #include <linux/of.h>
 #include <linux/of_clk.h>
  * flags used across common struct clk.  these flags should only affect the
  * top-level framework.  custom flags for dealing with hardware specifics
@@ -1019,5 +1017,4 @@ static inline int of_clk_detect_critical(struct device_node *np, int index,
 void clk_gate_restore_context(struct clk_hw *hw);
-#endif /* CONFIG_COMMON_CLK */
 #endif /* CLK_PROVIDER_H */
Sent by a computer through tubes

  reply	other threads:[~2019-06-26  4:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-26  4:15 [PATCH 0/2] Unexport __clk_of_table Stephen Boyd
2019-06-26  4:15 ` Stephen Boyd [this message]
2019-06-26  4:15 ` [PATCH 2/2] clk: " 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:

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

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH 1/2] clk: Remove ifdef for COMMON_CLK in clk-provider.h' \

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.