From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F3952C433F5 for ; Mon, 28 Feb 2022 19:12:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 381E783CF4; Mon, 28 Feb 2022 20:11:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="lMNCOKfQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1DDBC81DE9; Mon, 28 Feb 2022 20:09:39 +0100 (CET) Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5CE5883A7A for ; Mon, 28 Feb 2022 20:09:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-ot1-x329.google.com with SMTP id s1-20020a056830148100b005acfdcb1f4bso10279099otq.4 for ; Mon, 28 Feb 2022 11:09:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1YwGcNE9hpAwkghczttXwnxc5wYXnEe1cji0wcUlH+k=; b=lMNCOKfQedVWsc2UJwZRYlgJi9drtcZ+bp7B3/NFC8U2XSHQAb990Bfc53gdjtqMOy aitw9quX+1tezEZPu4PHSARAkt5GmfE6FJPXmOexsfafJeN1BZQPm5q5dIy8C6SShJUx vZZmDEV7qryOBpbgszp/XAQY61ST3Umz0mDao= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1YwGcNE9hpAwkghczttXwnxc5wYXnEe1cji0wcUlH+k=; b=7/Oplz3IFljxPKlW/zfzIDvDjuHYZ84D6VsaHoq17nOa3xaLf1+EA0hW9xUcjaGPzu EHWqfKIMT58zMDj5kvlLKLQ1MkumSuwBhPpriiP9w6Qw1tJ52UA8ATjE+IlXkpLcyB55 YN8dFKbNxlptCyXx/NrLzyILSN4/bKg0wF+HsRsF7oYW3T48TSPxUj4BU16FNtz3l/ct J6FZkvjZX/2O5tso6tMkoo9z8FgVnMvgrusCyv8IszxdDu4nhs6Ltf8u2rfHWdlIUyOm 0zeNS6ng45NdFg+LMmk+fHQYrjrQDXEAokjmGNSfhCoZkDUZBbU4NoJe/fuf4jR+RBXg 1UjA== X-Gm-Message-State: AOAM5336QEFceL0T9KUqA3qttB65nYyzMneM25gnGM4oJoqVcAZ9zcDV fEiOl6dlcclbZESAtujFkCaO+iHR7yPpSA== X-Google-Smtp-Source: ABdhPJwmDhLanGPm/LFBKCBYsJl41iuHo0XxDyMnB+QusnPvbNP2iYDfplXg8uwpdG1Xc5woNms4Gw== X-Received: by 2002:a05:6830:3106:b0:5af:fc36:6633 with SMTP id b6-20020a056830310600b005affc366633mr5368346ots.346.1646075355559; Mon, 28 Feb 2022 11:09:15 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id f188-20020a4a58c5000000b0031ccb8272f1sm5290577oob.33.2022.02.28.11.09.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 11:09:15 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Marek Vasut , Pavel Herrmann Subject: [PATCH 16/18] dm: core: Add a required struct declaration Date: Mon, 28 Feb 2022 12:08:33 -0700 Message-Id: <20220228190835.1480772-17-sjg@chromium.org> X-Mailer: git-send-email 2.35.1.574.g5d30c73bfb-goog In-Reply-To: <20220228190835.1480772-1-sjg@chromium.org> References: <20220228190835.1480772-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean This file uses struct driver, so declare it at the top in case the header-inclusion order is not as expected. Signed-off-by: Simon Glass --- include/dm/device-internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dm/device-internal.h b/include/dm/device-internal.h index 02002acb78..46ae0e1f1f 100644 --- a/include/dm/device-internal.h +++ b/include/dm/device-internal.h @@ -14,6 +14,7 @@ #include struct device_node; +struct driver_info; struct udevice; /* -- 2.35.1.574.g5d30c73bfb-goog