From patchwork Fri Oct 4 04:45:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 1171567 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) 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=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="D7sqqc3M"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46kxzk233kz9sPv for ; Fri, 4 Oct 2019 14:41:52 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 1AA46C21F6E; Fri, 4 Oct 2019 04:41:43 +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 70BD1C21DF8; Fri, 4 Oct 2019 04:41:42 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B7AC9C21DF8; Fri, 4 Oct 2019 04:41:40 +0000 (UTC) Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by lists.denx.de (Postfix) with ESMTPS id 195EDC21DEC for ; Fri, 4 Oct 2019 04:41:40 +0000 (UTC) Received: by mail-pl1-f195.google.com with SMTP id q24so2528495plr.13 for ; Thu, 03 Oct 2019 21:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=emP5u1bxZa+N9MydZRZ21pLA+uJw2lXTc0tP4Y20ilc=; b=D7sqqc3Mi4x1/E1dEFjc81iME9pSEWbA69BAgYFjKLHxmV+p5YmgnD/UMmO7ypeNMz zs7apV6WQSjWll5w0KYCHO6jKtGpROJtjz5ylySDkcggB8oF39bKdYhmbrS/fazr3raA Epyud1n9QQEnx1E1uiAHvGhxASPoo3d+WMzV5eebh8J3DSaQ+vB953d/HyxJ5/6KjZ6Z VqWEhXFX7pAtlz7f7EZJs+BAW2bNOdPYv2hDaY4Irv6qs+S082NwH8QEXFC2SukCVPbv 7Xx2ySIgfNjow260O4k1iOqGFj17O7UYx2bq7s0xcXkDp5N3jaXp2EFLBOPpL5wScMyK q2/w== 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:mime-version :content-transfer-encoding; bh=emP5u1bxZa+N9MydZRZ21pLA+uJw2lXTc0tP4Y20ilc=; b=JA7o2Wab0QcylJqd0PGmdy+mNKrqmKYEYy7IE67NcgEXKz28gbsqxMesYGCa5sZ9OP w2Ipw8W5QM3O5M3DdO3rEmd42wdWoHUsNCWG/jiUObHAKjMeOyqi0SWncDeuXAlurYSy O09HIuo3QxmpkJWTPR8+Y1/YvXdPj0hdyeSov4q0PXnop9cpKonDPyOJ1WYp0E2EBX4A zSVrEw8Zl0UXTSDJWz4EN4rNUzOpjVAc2H53iM4XrVq+gmJlMg/6WO1Mc7AM9IHTV7Cs BnUz8Zun1CGpDhDkWNxNhQxFLkC80l619OM/GJ/Vdjf3hyGd1iO3ql4s2o5BQMOWOzto puSw== X-Gm-Message-State: APjAAAWcbyGNqQYd7ZzUez2zHQcf19+ZO1VQ+O8Sp4DJtQVM5wdWH6om dfm30SR6g3IyKYmELcawevvRmQ== X-Google-Smtp-Source: APXvYqxhwiphjc4xjtYgIA4Nv1+UotRUEEg+dvK2JavSuoQFFqRfcgzJ0af5d9E5SnlGJBohb1G1mA== X-Received: by 2002:a17:902:b58c:: with SMTP id a12mr13376220pls.195.1570164098338; Thu, 03 Oct 2019 21:41:38 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id d19sm3936108pjz.5.2019.10.03.21.41.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Oct 2019 21:41:37 -0700 (PDT) From: AKASHI Takahiro To: sjg@chromium.org Date: Fri, 4 Oct 2019 13:45:18 +0900 Message-Id: <20191004044518.27272-1-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] sandbox: fix build error due to missing struct udevice definition 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" Without this patch, compiling may potentially fail. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass Reviewed-by: Simon Glass --- arch/sandbox/include/asm/u-boot-sandbox.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/sandbox/include/asm/u-boot-sandbox.h b/arch/sandbox/include/asm/u-boot-sandbox.h index b2b8e3645559..798d0030773e 100644 --- a/arch/sandbox/include/asm/u-boot-sandbox.h +++ b/arch/sandbox/include/asm/u-boot-sandbox.h @@ -26,6 +26,8 @@ int cleanup_before_linux(void); /* drivers/video/sandbox_sdl.c */ int sandbox_lcd_sdl_early_init(void); +struct udevice; + /** * pci_map_physmem() - map a PCI device into memory *