From: heiko@sntech.de (Heiko Stuebner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/7] clk: rockchip: add missing include guards
Date: Sun, 5 Jul 2015 11:00:19 +0200 [thread overview]
Message-ID: <1436086820-3757-7-git-send-email-heiko@sntech.de> (raw)
In-Reply-To: <1436086820-3757-1-git-send-email-heiko@sntech.de>
Review for the rk3368 turned up that the clock header was missing include
guards. This is also true for the already existing clock binding headers,
so add them.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
include/dt-bindings/clock/rk3066a-cru.h | 5 +++++
include/dt-bindings/clock/rk3188-cru-common.h | 5 +++++
include/dt-bindings/clock/rk3188-cru.h | 5 +++++
include/dt-bindings/clock/rk3288-cru.h | 5 +++++
4 files changed, 20 insertions(+)
diff --git a/include/dt-bindings/clock/rk3066a-cru.h b/include/dt-bindings/clock/rk3066a-cru.h
index bc1ed1d..d3a9824 100644
--- a/include/dt-bindings/clock/rk3066a-cru.h
+++ b/include/dt-bindings/clock/rk3066a-cru.h
@@ -13,6 +13,9 @@
* GNU General Public License for more details.
*/
+#ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3066A_H
+#define _DT_BINDINGS_CLK_ROCKCHIP_RK3066A_H
+
#include <dt-bindings/clock/rk3188-cru-common.h>
/* soft-reset indices */
@@ -33,3 +36,5 @@
#define SRST_HDMI 96
#define SRST_HDMI_APB 97
#define SRST_CIF1 111
+
+#endif
diff --git a/include/dt-bindings/clock/rk3188-cru-common.h b/include/dt-bindings/clock/rk3188-cru-common.h
index 6a37050..8df77a7 100644
--- a/include/dt-bindings/clock/rk3188-cru-common.h
+++ b/include/dt-bindings/clock/rk3188-cru-common.h
@@ -13,6 +13,9 @@
* GNU General Public License for more details.
*/
+#ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3188_COMMON_H
+#define _DT_BINDINGS_CLK_ROCKCHIP_RK3188_COMMON_H
+
/* core clocks from */
#define PLL_APLL 1
#define PLL_DPLL 2
@@ -248,3 +251,5 @@
#define SRST_PTM1_ATB 141
#define SRST_CTM 142
#define SRST_TS 143
+
+#endif
diff --git a/include/dt-bindings/clock/rk3188-cru.h b/include/dt-bindings/clock/rk3188-cru.h
index 9fac8ed..9f2e631 100644
--- a/include/dt-bindings/clock/rk3188-cru.h
+++ b/include/dt-bindings/clock/rk3188-cru.h
@@ -13,6 +13,9 @@
* GNU General Public License for more details.
*/
+#ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3188_H
+#define _DT_BINDINGS_CLK_ROCKCHIP_RK3188_H
+
#include <dt-bindings/clock/rk3188-cru-common.h>
/* soft-reset indices */
@@ -49,3 +52,5 @@
#define SRST_GPU_BRIDGE 121
#define SRST_CTI3 123
#define SRST_CTI3_APB 124
+
+#endif
diff --git a/include/dt-bindings/clock/rk3288-cru.h b/include/dt-bindings/clock/rk3288-cru.h
index dea4197..c719aac 100644
--- a/include/dt-bindings/clock/rk3288-cru.h
+++ b/include/dt-bindings/clock/rk3288-cru.h
@@ -13,6 +13,9 @@
* GNU General Public License for more details.
*/
+#ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3288_H
+#define _DT_BINDINGS_CLK_ROCKCHIP_RK3288_H
+
/* core clocks */
#define PLL_APLL 1
#define PLL_DPLL 2
@@ -376,3 +379,5 @@
#define SRST_TSP_CLKIN0 189
#define SRST_TSP_CLKIN1 190
#define SRST_TSP_27M 191
+
+#endif
--
2.1.4
next prev parent reply other threads:[~2015-07-05 9:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-05 9:00 [PATCH v3 0/7] clk: rockchip: add support for the clock-tree of the rk3368 Heiko Stuebner
2015-07-05 9:00 ` [PATCH 1/7] clk: rockchip: add support for phase inverters Heiko Stuebner
2015-07-06 22:00 ` Stephen Boyd
2015-07-06 22:06 ` Stephen Boyd
2015-07-05 9:00 ` [PATCH 2/7] clk: rockchip: fix issues in the mmc-phase clock Heiko Stuebner
2015-07-06 22:07 ` Stephen Boyd
2015-07-05 9:00 ` [PATCH 3/7] clk: rockchip: define the inverters of rk3066/rk3188 and rk3288 Heiko Stuebner
2015-07-06 22:08 ` Stephen Boyd
2015-07-05 9:00 ` [PATCH 4/7] dt-bindings: add documentation of rk3668 clock controller Heiko Stuebner
2015-07-06 22:10 ` Stephen Boyd
2015-07-05 9:00 ` [PATCH 5/7] clk: rockchip: add dt-binding header for rk3368 Heiko Stuebner
2015-07-06 22:11 ` Stephen Boyd
2015-07-05 9:00 ` Heiko Stuebner [this message]
2015-07-06 22:12 ` [PATCH 6/7] clk: rockchip: add missing include guards Stephen Boyd
2015-07-06 22:12 ` Stephen Boyd
2015-07-05 9:00 ` [PATCH 7/7] clk: rockchip: add rk3368 clock controller Heiko Stuebner
2015-07-06 22:12 ` 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=1436086820-3757-7-git-send-email-heiko@sntech.de \
--to=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).