From patchwork Sun Jul 19 16:15:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1331839 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=JUAtO8Zt; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B8qlV4vyBz9sR4 for ; Mon, 20 Jul 2020 02:17:58 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4CD9181CE2; Sun, 19 Jul 2020 18:17:12 +0200 (CEST) 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="JUAtO8Zt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3770681C30; Sun, 19 Jul 2020 18:16:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) (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 C56AF81C21 for ; Sun, 19 Jul 2020 18:16:26 +0200 (CEST) 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-il1-x144.google.com with SMTP id t27so11259085ill.9 for ; Sun, 19 Jul 2020 09:16:26 -0700 (PDT) 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=n1sj5dVZDggM4o4yViwRa+aVC/dXSERSmz1fal0iIWE=; b=JUAtO8Ztv+BJOnP6D0pOKqO8oulaqTcfxlCF43aUiRUoMzd8s3QYaVB37ZNV/xiHRd pHKjvA1ANtgd1v85Je/gl7njEkiaAXf/PsgmGHQZnscWGL4/G/KS02Z1kDJWkdfkpV7n 65+fIun16HamtOLAvoUWTs5xmP/G+fdKeH1D0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=n1sj5dVZDggM4o4yViwRa+aVC/dXSERSmz1fal0iIWE=; b=X16zB1Km76VQKLphJh2gIy2A0ZDs7B4vHp2UPVNQKfAoIt+l46q7v32FUsh+In1ck4 BjkgrOCz27UrsmWZFl4Dreg7FI5hB48psmREQH0hgEDEE652E2y60bMuvCgfcNb2YuXd V2FyFSgMmualF6NhK0KwmEv37b8J3n+4u/XI+Q/yF8xINNCiBLk+gFexZy4bdKUbfCEz Rqcp/vRbCPNEyVVUgBgtrPZNj35ZgtqOAs7OgPl+dcgTYazlY2ZI7H9ZT0UhNx2QfMgV rsOnVs7R6Tba8RxSKbyCE2K2DMLXe06NliVmICPh8MGYg71pJj8PTbFq0a/ORoiipBdE +xLA== X-Gm-Message-State: AOAM53030mY1hTioXCKLqJeXlfGIzCrButot1vfO8XTkyltn1sz+/M4r q4u5FVqP7kx75Akg3M29BRHGib0T1/491A== X-Google-Smtp-Source: ABdhPJx6J8n6WLFGtdMv1MbDteZy/Gso1+UolwSleR5G/oNSNS73kGJLbANm/Uu2Fv+zKCG229dvtg== X-Received: by 2002:a92:cd4e:: with SMTP id v14mr17857796ilq.247.1595175385569; Sun, 19 Jul 2020 09:16:25 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id c3sm7415632ilj.31.2020.07.19.09.16.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jul 2020 09:16:25 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Masahiro Yamada , Simon Glass , Marek Vasut , Pavel Herrmann Subject: [PATCH 06/31] dm: core: Drop dm.h header file from dm-demo.h Date: Sun, 19 Jul 2020 10:15:36 -0600 Message-Id: <20200719161601.495421-7-sjg@chromium.org> X-Mailer: git-send-email 2.28.0.rc0.105.gf9edc3c819-goog In-Reply-To: <20200719161601.495421-1-sjg@chromium.org> References: <20200719161601.495421-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean This header file should not be included in other header files. Remove it and add it to the cmd file instead. Signed-off-by: Simon Glass --- cmd/demo.c | 1 + include/dm-demo.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/demo.c b/cmd/demo.c index 9da06f5e4d..f923533f79 100644 --- a/cmd/demo.c +++ b/cmd/demo.c @@ -8,6 +8,7 @@ #include #include +#include #include #include #include diff --git a/include/dm-demo.h b/include/dm-demo.h index c9a82c7e52..7b6d0d80ff 100644 --- a/include/dm-demo.h +++ b/include/dm-demo.h @@ -6,8 +6,6 @@ #ifndef __DM_DEMO_H #define __DM_DEMO_H -#include - /** * struct dm_demo_pdata - configuration data for demo instance *