Message ID | 20191027155410.187957-15-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=<UNKNOWN>) 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="eD8ShUDH"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 471N4h0r2sz9sPK for <incoming@patchwork.ozlabs.org>; Mon, 28 Oct 2019 03:06:11 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id B00D6C21E39; Sun, 27 Oct 2019 15:59:20 +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 4D90BC21C8B; Sun, 27 Oct 2019 15:56:01 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 8AB9CC21DFD; Sun, 27 Oct 2019 15:55:59 +0000 (UTC) Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) by lists.denx.de (Postfix) with ESMTPS id E8200C21DB3 for <u-boot@lists.denx.de>; Sun, 27 Oct 2019 15:55:04 +0000 (UTC) Received: by mail-io1-f66.google.com with SMTP id z19so7772262ior.0 for <u-boot@lists.denx.de>; Sun, 27 Oct 2019 08:55:04 -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=1eOQYQTEYEyYl9ZiGCbtSaEu5jAptC9jA7OEAvfpOBQ=; b=eD8ShUDHt/of8BXLrKMu9wNpoEV5lHeHAR5l4KiQ9lIrhu4IQyqsBxExYWGFKihBFp /tOnJUOMgnuXDZDDLdsaxhj6qZ6hGLqEpg4c2a0vlMiKK2+en+AuRIzFRuaW2B9LbeBq I7Fn20+N+ZrsTfpHRjN02A94wLxiHO97QuAYE= 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=1eOQYQTEYEyYl9ZiGCbtSaEu5jAptC9jA7OEAvfpOBQ=; b=Yp8qs8yqebOSxXRnxdbJ3wYqcK/U8w1b6VPkCJpm9xCnEn2z7S1UPzoSVVA1HC9zVN i+/5J7QSGIgkS8GGa3lASp+vjzO6R1ZJS9+x5k2oCdqA7k8ER4zBOviTLJFhSpi+LRUV IGYNaTvSxMObnbZnuCCGXHd9+5PlENDMs+YFI04gZgsu7CvoM/a8b9l12C6grfPgJOOT 2gmI6oJ6Yo7If7aKR30Tg8b0CFsgVBJ2UV95TLUhLpexe6elf/mqyTBJOP8ERg5kbJkE Borwdac8mY4EA4qrmPfxYbXnpieSsUfAOy8XS7n50hB8rxEZs4hliwXmP6UhkpNvpp+q Rb/A== X-Gm-Message-State: APjAAAVXkxMs+ZJV4aSeUjYeUc9XYcWCeFp9JXgW2j3EwCcCnSpJADNb PpXZA82F3CrdCQNWoEeeyQUhEr99Z95ePA== X-Google-Smtp-Source: APXvYqwQbKraNDUhU4XWP6mZweF68zCEr74p7t+jFYGtEiaqINAladiq6H691UQfQJXBO6HNaiOxYQ== X-Received: by 2002:a6b:e20f:: with SMTP id z15mr13915429ioc.199.1572191703806; Sun, 27 Oct 2019 08:55:03 -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.55.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2019 08:55:03 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Date: Sun, 27 Oct 2019 09:53:55 -0600 Message-Id: <20191027155410.187957-15-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: Joe Hershberger <joe.hershberger@ni.com>, Tom Rini <trini@konsulko.com>, Martin Fuzzey <martin.fuzzey@flowbird.group> Subject: [U-Boot] [PATCH 15/30] w1: 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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
[U-Boot,01/30] lib: Allow crc32 to be disabled.
|
expand
|
diff --git a/board/atmel/common/board.c b/board/atmel/common/board.c index c41706c400..eee5c357bd 100644 --- a/board/atmel/common/board.c +++ b/board/atmel/common/board.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <dm.h> #include <env.h> #include <w1.h> #include <w1-eeprom.h> diff --git a/cmd/w1.c b/cmd/w1.c index 9c95fcf9cd..c7e2b62bfa 100644 --- a/cmd/w1.c +++ b/cmd/w1.c @@ -6,6 +6,7 @@ */ #include <common.h> #include <command.h> +#include <dm.h> #include <w1.h> #include <w1-eeprom.h> #include <dm/device-internal.h> diff --git a/include/w1.h b/include/w1.h index b958b1c92c..77f439e587 100644 --- a/include/w1.h +++ b/include/w1.h @@ -8,7 +8,7 @@ #ifndef __W1_H #define __W1_H -#include <dm.h> +struct udevice; #define W1_FAMILY_DS24B33 0x23 #define W1_FAMILY_DS2431 0x2d
This header file should not be included in other header files. Remove it and use a forward declaration instead. Signed-off-by: Simon Glass <sjg@chromium.org> --- board/atmel/common/board.c | 1 + cmd/w1.c | 1 + include/w1.h | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)