From patchwork Sun Oct 27 15:53:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1185061 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=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="FY3eQ4X8"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 471N3t1JYCz9sPK for ; Mon, 28 Oct 2019 03:05:30 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id D2ED7C21D56; Sun, 27 Oct 2019 15:58:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 547E7C21E45; Sun, 27 Oct 2019 15:55:40 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B107FC21DE8; Sun, 27 Oct 2019 15:55:35 +0000 (UTC) Received: from mail-il1-f196.google.com (mail-il1-f196.google.com [209.85.166.196]) by lists.denx.de (Postfix) with ESMTPS id 9165FC21DD7 for ; Sun, 27 Oct 2019 15:54:51 +0000 (UTC) Received: by mail-il1-f196.google.com with SMTP id y5so5867117ilb.5 for ; Sun, 27 Oct 2019 08:54:51 -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=CxegMGage7XdQ6QSlFsnTYp+Nopq4cmD4YWpAqXw6kw=; b=FY3eQ4X87LAr9s0lZzh2vHHuILyfdaOOdtimQaf4w+uvhhUN01GNs6RIUKqRdge/vB 4IQ6EBMtRs/5ZqvqjPcl9RFt48M55SZu/HxCHpW34BIrrdWhIi3GfzD5obCsEIOJj5dI YILKid+VvPYWs8VtyuGHNMs+nvZRKXguYVSJU= 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=CxegMGage7XdQ6QSlFsnTYp+Nopq4cmD4YWpAqXw6kw=; b=ueQsBNYNtZ1pVfVCrbSG4APaKhKtCQQ2Wd7JqHAwUJsFQz4j4EzdO1RlngBNqv9SQO Bd3gCO5yHnqNPz2L2+Pi7W6p6bLpRQkczCM+Wo2FWrPwc/8mRj0r1Ha01eSYmLesu91Q wZSGATvqu5Wq9l5CT2731Z6fDE7KANDRh/n5zTID6EN65EdwLhAwq1NE0nX0up0fgWpk AVK3xyCVLrPz6DSinc3QAkCKVtQVYmC9cu/O5LNFn2CC+pAb4LuAf/u9Gtok5HyHIF2C oUtZ9qkvmSbf+VoGwpA8Z2/A9l/bkwTaCrp8A+tgSx53m0HCuDFYYt6ignHyuwewKIeB OR6w== X-Gm-Message-State: APjAAAXbUaCJYLI1r4Npi/SQj76Rch1bOAEbOky2gRVqFgJr4VTEnZcN WA7mgTqDdj9BTGTNMQFiPWBq23U6N0Ahxg== X-Google-Smtp-Source: APXvYqzfhsUCCsJ31twopPVsqUkgVV1tYCzw2pxWcMosCQhoje7DvJ+ahl9b5TRhrqyM2MGWp5rk0Q== X-Received: by 2002:a92:d18d:: with SMTP id z13mr1807440ilz.62.1572191690461; Sun, 27 Oct 2019 08:54:50 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id n3sm1215070ilm.8.2019.10.27.08.54.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2019 08:54:50 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Sun, 27 Oct 2019 09:53:49 -0600 Message-Id: <20191027155410.187957-9-sjg@chromium.org> X-Mailer: git-send-email 2.24.0.rc0.303.g954a862665-goog In-Reply-To: <20191027155410.187957-1-sjg@chromium.org> References: <20191027155410.187957-1-sjg@chromium.org> MIME-Version: 1.0 Cc: Tom Rini , Pavel Herrmann Subject: [U-Boot] [PATCH 09/30] dm: core: Drop dm.h header file from dm-demo.h X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" 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 52c6e7ec15..2c81bf2822 100644 --- a/cmd/demo.c +++ b/cmd/demo.c @@ -7,6 +7,7 @@ */ #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 *