Message ID | 20200915144522.509493-7-seanga2@gmail.com |
---|---|
State | Accepted |
Commit | c64633644edfeb348b8c79a66268ec805f4280c2 |
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=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=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Bx97+CUk; 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 4BrQzc0p5wz9sVZ for <incoming@patchwork.ozlabs.org>; Wed, 16 Sep 2020 00:46:51 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 071038234C; Tue, 15 Sep 2020 16:45:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Bx97+CUk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5ED6F8233E; Tue, 15 Sep 2020 16:45:46 +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,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) (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 E024882304 for <u-boot@lists.denx.de>; Tue, 15 Sep 2020 16:45:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qk1-x743.google.com with SMTP id g72so4445740qke.8 for <u-boot@lists.denx.de>; Tue, 15 Sep 2020 07:45:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LcI8dQR7+cGwiss+NDcLlohryxPRsEXjZorZ2ce6jAM=; b=Bx97+CUklDKrgPgrwJafsl6191JNFQaK2+6JX6WFR3C8UILGJgfMu/i81ntk9AlQVB Lepw4Z9dfIatOAvc+PSd0kbhUBi4ntYjGK5JRcnSTCbYdfczd76OLUNQtGSFb2Jj/KX4 wyde7B9u0eLNBhlpTiLdBvwZas0szzBC2bG3SaJFJl/n4K0IgUC54zlWyQdg4FlBftfu uDpckY8gxYLWixodg+dYEbnTy43VLbecGP+a/FUtqNwT7bdCtrTvPSDEk0jnJmiCQD8I Zv3xx/7hc7TynsTv69olKVTgHp+VN7kh6ZhGunQEsTO+WYQC4fHaQvEgJmJWFBgHLz0m 0fSQ== 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=LcI8dQR7+cGwiss+NDcLlohryxPRsEXjZorZ2ce6jAM=; b=SztxLtqqoJ7jw2FcYV3AD5IAI1s2HNxZbMyK2OA5aEwzRaOfNxYPJjBs2VKVYceTbX LtINe97i1cw0LFSC4MdQPkWHoOWrP0xwKaHCDS+mfdQXnpv0gMVTKQDHO//eRYeAEJsQ OwK9NxRjh96d+kdqY9xMKjMwU12Abu6UCAP2nelMGHq4TYBSQIaGyhwT1aKBPoKkAHwr 1Na6aLQSl/fia5mpThDVMuElXQR9suov2eZkV93+wc/CS1yZVRkMgyBJN3MudJKeRJDN CFUkA/NC3HHHgBuz1lCTUYtF5EwbE3Af4H4caBzhGcB7lfoG94sPR3EYLKtZzxrDhGZU owng== X-Gm-Message-State: AOAM533lgYKjsnUaKTxAkYVWND7kjGZdj8hHAwIBM2JZcyQNeKNBgLQf Y6zpOYCqXZ5eSPy5WrpdtGDZ4p7XVLCx1mZP X-Google-Smtp-Source: ABdhPJwz/a1MKgcPr15IL3RRDsjrwZofdrSsUYwR9nMw7RDdU26giUHuJj+SapmIuoQwaZVXKFk3Ng== X-Received: by 2002:a37:a992:: with SMTP id s140mr17237663qke.485.1600181142747; Tue, 15 Sep 2020 07:45:42 -0700 (PDT) Received: from godwin.fios-router.home (pool-108-51-35-162.washdc.fios.verizon.net. [108.51.35.162]) by smtp.gmail.com with ESMTPSA id g18sm16371799qko.126.2020.09.15.07.45.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 07:45:42 -0700 (PDT) From: Sean Anderson <seanga2@gmail.com> To: u-boot@lists.denx.de Cc: Sean Anderson <seanga2@gmail.com>, Horatiu Vultur <horatiu.vultur@microchip.com>, Jagan Teki <jagan@amarulasolutions.com>, Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>, Stefan Roese <sr@denx.de>, Vignesh Raghavendra <vigneshr@ti.com> Subject: [PATCH v2 06/46] mtd: spi: Include dm.h in spi-nor-core.c Date: Tue, 15 Sep 2020 10:44:42 -0400 Message-Id: <20200915144522.509493-7-seanga2@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200915144522.509493-1-seanga2@gmail.com> References: <20200915144522.509493-1-seanga2@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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: <https://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> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
dm: Print device name in dev_xxx like Linux
|
expand
|
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c index 0113e70037..e16b0e1462 100644 --- a/drivers/mtd/spi/spi-nor-core.c +++ b/drivers/mtd/spi/spi-nor-core.c @@ -11,6 +11,7 @@ #include <common.h> #include <log.h> +#include <dm.h> #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/bitops.h>
This header is needed so struct udevice can be used in dev_xxx(). Signed-off-by: Sean Anderson <seanga2@gmail.com> --- Changes in v2: - New drivers/mtd/spi/spi-nor-core.c | 1 + 1 file changed, 1 insertion(+)