From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kMvpQ-0005YK-Uh for barebox@lists.infradead.org; Mon, 28 Sep 2020 16:16:41 +0000 From: Ahmad Fatoum Date: Mon, 28 Sep 2020 18:16:38 +0200 Message-Id: <20200928161638.17189-1-a.fatoum@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] include: regulator.h: forward declare struct device_d To: barebox@lists.infradead.org Cc: Ahmad Fatoum We so far depended on include order for struct device_d to be declared before inclusion. Fix this. Signed-off-by: Ahmad Fatoum --- include/regulator.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/regulator.h b/include/regulator.h index a9cb6dedca5e..76325fd96056 100644 --- a/include/regulator.h +++ b/include/regulator.h @@ -2,6 +2,8 @@ #ifndef __REGULATOR_H #define __REGULATOR_H +struct device_d; + /* struct regulator is an opaque object for consumers */ struct regulator; -- 2.28.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox