From patchwork Sun Oct 27 15:53:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1185057 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="N8tferl/"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 471N2G0g2Jz9sPK for ; Mon, 28 Oct 2019 03:04:06 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id BFD6FC21E07; Sun, 27 Oct 2019 15:57:52 +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 490C3C21E2B; Sun, 27 Oct 2019 15:55:39 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id DED1DC21E1D; Sun, 27 Oct 2019 15:55:34 +0000 (UTC) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by lists.denx.de (Postfix) with ESMTPS id 7360AC21DB5 for ; Sun, 27 Oct 2019 15:54:45 +0000 (UTC) Received: by mail-io1-f67.google.com with SMTP id 1so7736969iou.4 for ; Sun, 27 Oct 2019 08:54:45 -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=2vHKDmp/7wxED1o+3IwzkHXh+HMUrL4aZDWkd3t+N40=; b=N8tferl/wGmmuefU8hfjietACFi0hh9F21Yv1jsuLGHNyzCdWFn3lLwnAQpmAuPAbL LWHezrnB4eLTKWdQ/CwfFhIM43UZSGGJfXmgnBGA3nqY8FK5giqYIRm2r3yF0LyggLxH u/ndGwAD8svoUpK0M9WwT6uwbHca8vcVoh6/8= 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=2vHKDmp/7wxED1o+3IwzkHXh+HMUrL4aZDWkd3t+N40=; b=FWxvFJ72v1b5a83HJqtbXmCYOCrmjlJzjdoYPu6VdQFVIQ+QndW/vVAsy1mHpgrDWm 9T/uvLlk8dcUr55h+0roxw9b0iB9uJwVdipUC0Ak5qdjwyTaJ8nJLL+us0VPi54jxbdU 3Ghy82j9O3wibdQi4HdLKvljV00ROp3/Vk5Rm625LJTDlZykRAme/sw/yAxK3/UCaKuW wp4bqKAPztKsRSTTXQS73iOueKvjsFnUuewSLNQFp8PShY8s9ls0tP6m+XnJpWKaGF7q aJ3UU+UW2XpjVBtTtVOTi3vRIsIz30M4xnumgFKVmntRjNaMj5Zw/SQpQtdRovEAv6yF ZcDg== X-Gm-Message-State: APjAAAWFzfFZ0MG8e7OiRHALF7CwEjC4SDGUNzxO2BwqeJ0TIUsh0Xut Lgg2gwbGR5waT9tmM1nW2boc5rkB2MXx3w== X-Google-Smtp-Source: APXvYqyupcM2vMbvHRB1xH0nST+TwX8mux/mq91ZI8WmczY5rnMbv/ss8vQV9siK8lwlxhodygeBFw== X-Received: by 2002:a02:cdd1:: with SMTP id m17mr919894jap.61.1572191684225; Sun, 27 Oct 2019 08:54:44 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2019 08:54:43 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Sun, 27 Oct 2019 09:53:46 -0600 Message-Id: <20191027155410.187957-6-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: Marek Vasut , Tom Rini , Stefan Roese , Michal Simek Subject: [U-Boot] [PATCH 06/30] wdt: Drop dm.h header file 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 use a forward declaration instead. Signed-off-by: Simon Glass Reviewed-by: Stefan Roese --- include/wdt.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/wdt.h b/include/wdt.h index 5698605c02..62f4b34c30 100644 --- a/include/wdt.h +++ b/include/wdt.h @@ -6,8 +6,7 @@ #ifndef _WDT_H_ #define _WDT_H_ -#include -#include +struct udevice; /* * Implement a simple watchdog uclass. Watchdog is basically a timer that