From patchwork Wed Feb 16 19:19:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1593894 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=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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4JzSSk36jSz9sFN for ; Thu, 17 Feb 2022 06:19:34 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3141C81F9A; Wed, 16 Feb 2022 20:19:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 11C2783A64; Wed, 16 Feb 2022 20:19:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51]) (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 210C9811E1 for ; Wed, 16 Feb 2022 20:19:25 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qv1-f51.google.com with SMTP id v10so3819602qvk.7 for ; Wed, 16 Feb 2022 11:19:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=VWEZODi/5UFzBo6bccJ/B3FKFvb/QRyBH2cVexBX3hY=; b=Sxy6KM84xcHSwHsLJ7LPguzZP4DdDPajXiNFTA072C2gx2hdvUpr/V2oEAsBjobMFC GMbi+4YjYKMlMGV4zysOiWPfKxUKPA+4sQkjcRn6TV0BeDghFqZ/nSOKSHpA6l4idAc7 jA8bGz34RDLhG64WJ36V+F2R9G73yjKpT8VguBlIAbsS0jwIkDqq62xrwtNnJnwCzxbz nuS/IXOHxx8lT8dVC/mM1B4rrQGhsMjCDcKt+9FwCL36JtcbMvt6vVd9N+kn7BRlTLMO BXWcPn0HUWIXn5LAQgL6nDr/IscXXNt4IiC8P+7FbpS9AiSdNSlQvUgXWGLIg1a6Moyf qeOQ== X-Gm-Message-State: AOAM530/v/O2KCQ2oHENdTTW6BhSk6JfoCsYi2PZ407a3HWy71+zkuvm ep151Vezvvz+KUYcF9miG+j7Mq6ntA== X-Google-Smtp-Source: ABdhPJx66Ixu0m32WRKJNdr27AfCkcFvo2OiGC3Yd8ucE2+Pmvq9iK2D+uKzegaQ6leju+cCEVlO7Q== X-Received: by 2002:ac8:5d94:0:b0:2dd:1553:2248 with SMTP id d20-20020ac85d94000000b002dd15532248mr2227917qtx.258.1645039163624; Wed, 16 Feb 2022 11:19:23 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id bm27sm18323472qkb.5.2022.02.16.11.19.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 11:19:23 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH] fdtdec.h: Remove gurads around fdtdec_resetup function Date: Wed, 16 Feb 2022 14:19:20 -0500 Message-Id: <20220216191920.2558258-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean This function has not been conditionally compiled for some time, so remove the incorrect guards around the declaration. Signed-off-by: Tom Rini --- include/fdtdec.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index 4b0b505773dd..12355afd7fa1 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -1169,7 +1169,6 @@ int fdtdec_setup(void); */ int fdtdec_board_setup(const void *fdt_blob); -#if CONFIG_IS_ENABLED(MULTI_DTB_FIT) /** * fdtdec_resetup() - Set up the device tree again * @@ -1188,7 +1187,6 @@ int fdtdec_board_setup(const void *fdt_blob); * Return: 0 if OK, -ve on error */ int fdtdec_resetup(int *rescan); -#endif /** * Board-specific FDT initialization. Returns the address to a device tree blob.