Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j2CC5-0005V9-MI for barebox@lists.infradead.org; Thu, 13 Feb 2020 10:58:06 +0000 From: Sascha Hauer Date: Thu, 13 Feb 2020 11:58:01 +0100 Message-Id: <20200213105803.32096-1-s.hauer@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/3] clk-conf.h: Add missing re-inclusion protection To: Barebox List Signed-off-by: Sascha Hauer --- include/linux/clk/clk-conf.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/linux/clk/clk-conf.h b/include/linux/clk/clk-conf.h index 8f4382e6c6..ac6cfdf711 100644 --- a/include/linux/clk/clk-conf.h +++ b/include/linux/clk/clk-conf.h @@ -6,12 +6,15 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ - -#if defined(CONFIG_OFTREE) && defined(CONFIG_COMMON_CLK_OF_PROVIDER) +#ifndef __CLK_CONF_H +#define __CLK_CONF_H #include +#if defined(CONFIG_OFTREE) && defined(CONFIG_COMMON_CLK_OF_PROVIDER) + struct device_node; int of_clk_set_defaults(struct device_node *node, bool clk_supplier); #endif +#endif /* __CLK_CONF_H */ -- 2.25.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox