Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: rockchip: add missing include guards

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>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

authored by

Heiko Stuebner and committed by
Stephen Boyd
7c8f03d5 d8567e39

+20
+5
include/dt-bindings/clock/rk3066a-cru.h
··· 13 13 * GNU General Public License for more details. 14 14 */ 15 15 16 + #ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3066A_H 17 + #define _DT_BINDINGS_CLK_ROCKCHIP_RK3066A_H 18 + 16 19 #include <dt-bindings/clock/rk3188-cru-common.h> 17 20 18 21 /* soft-reset indices */ ··· 36 33 #define SRST_HDMI 96 37 34 #define SRST_HDMI_APB 97 38 35 #define SRST_CIF1 111 36 + 37 + #endif
+5
include/dt-bindings/clock/rk3188-cru-common.h
··· 13 13 * GNU General Public License for more details. 14 14 */ 15 15 16 + #ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3188_COMMON_H 17 + #define _DT_BINDINGS_CLK_ROCKCHIP_RK3188_COMMON_H 18 + 16 19 /* core clocks from */ 17 20 #define PLL_APLL 1 18 21 #define PLL_DPLL 2 ··· 251 248 #define SRST_PTM1_ATB 141 252 249 #define SRST_CTM 142 253 250 #define SRST_TS 143 251 + 252 + #endif
+5
include/dt-bindings/clock/rk3188-cru.h
··· 13 13 * GNU General Public License for more details. 14 14 */ 15 15 16 + #ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3188_H 17 + #define _DT_BINDINGS_CLK_ROCKCHIP_RK3188_H 18 + 16 19 #include <dt-bindings/clock/rk3188-cru-common.h> 17 20 18 21 /* soft-reset indices */ ··· 52 49 #define SRST_GPU_BRIDGE 121 53 50 #define SRST_CTI3 123 54 51 #define SRST_CTI3_APB 124 52 + 53 + #endif
+5
include/dt-bindings/clock/rk3288-cru.h
··· 13 13 * GNU General Public License for more details. 14 14 */ 15 15 16 + #ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3288_H 17 + #define _DT_BINDINGS_CLK_ROCKCHIP_RK3288_H 18 + 16 19 /* core clocks */ 17 20 #define PLL_APLL 1 18 21 #define PLL_DPLL 2 ··· 379 376 #define SRST_TSP_CLKIN0 189 380 377 #define SRST_TSP_CLKIN1 190 381 378 #define SRST_TSP_27M 191 379 + 380 + #endif