Message ID | 20181029235206.30060-7-f.fainelli@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3601B174F for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 29 Oct 2018 23:56:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1E3F628CD0 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 29 Oct 2018 23:56:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0FA6729238; Mon, 29 Oct 2018 23:56:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 817CA28CD0 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 29 Oct 2018 23:56:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=IstQKYhZeTieoBtyrLCiQl5tUhYKqhdUFGzKSFVgcWY=; b=sd/HxM+/oHuR5dDqSkfUZrnGA3 q5pTL9SMaXQFXnssTVqPMTg3B1Dho8XSe3T2zoZyVeYGeLb79S9b+EnFrAI45vroanzTAg6DYUT3d bptggS+/CPH2Sfa9shJql3pgElQ9SFJaUiv+tgP+1OQy5XOTEO9iXWE+ad6Ah5ZHhuNl62xNwQUSt DwSQIFBB3sBZPWJoSbpfv27qSVcjIg0vpxG4j9JK3KxtWVUZu/BmeBgYlWiSC2KrM/rNYSTGkmwYB EvF3HuijZoXOpGGGH/fAmzfNf89wQb8flZ1bmjY0J3Gq/8DJ6NE/TlE6A240x5ctU/hk0Hry9bP5q /BxKdYOQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHHOT-0006p2-Ip; Mon, 29 Oct 2018 23:56:25 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHHL4-00044R-OC for linux-arm-kernel@lists.infradead.org; Mon, 29 Oct 2018 23:53:14 +0000 Received: by mail-pg1-x543.google.com with SMTP id m9-v6so1970542pgl.13 for <linux-arm-kernel@lists.infradead.org>; Mon, 29 Oct 2018 16:52:47 -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; bh=UCzz1toXQe6bQDYNTpARd+cAILXLMTsKuFpS/Hs6ZpA=; b=hGDIKmT8JC7ldxnYEi2TgGW3IK81ZJRtagn6wQGiIyQ5dvfVWuQNuNviAJ69A7YPbf 2CtGs23/wkWaJTlEsYvj1Q0LsJ1R3TqDsBt4PgkChy7wjMoIEiD9ggIH90rEbEURFFGx 3AQ9Ej2tM5ASJ3OoKYiYdt6+ZtkIMt12oFKc4GorkmUt/3VRfzqRKM26/+i8kUF1jM5j oOY0bfuw3OsCdbrqvgyxVLCZFVAN8ZCTnJE9Qc+qqskxNPJeRXukaRVk5/pOCCiLXiwV 6UfaddskARqZz0FR51m9H/4hgWcWPNDQIgkFfgEUt3WOCLMwx7s8cSsneAG67ld1/84G xG1Q== 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; bh=UCzz1toXQe6bQDYNTpARd+cAILXLMTsKuFpS/Hs6ZpA=; b=ZzKdqi7a/nBj7v/P2ZQXRe3Z/zrP5wXGJLuvTJncsoCcIL6hs0z0jzHitQu/CGORA5 vw5n8Zu9EOrZ2ZexCtlyj2quMNCR79IvaIluIe3M6fW8qrwf67PUKSWgqHkulzIOTtX7 MTCYSw87vVEfK1KBH5D3iOobZjbr5txn3gdahfW0gK0KDqKjvgM68v9pJ1msY5l97kto DVYOPrsGNSr0wx2BNE8pJwz8uoRqfScy6kvnSegFum7DDm3n5oB1vVXWQcdTUIk5P0W6 DFSlu99/Far22JqMN5fkM5T10SrOBiOviDjBhE8DsqbuevRjVpDyAAjwxgxGnuJaK2Jj ed7A== X-Gm-Message-State: AGRZ1gJx4Z9+yjq3MnkALi8qHnA31tv2XDXupgieEigjvSv+b+z9u7bt /T3JRnxeF+hewkTeThwPIWM= X-Google-Smtp-Source: AJdET5eHYVb/NuHFBjEhkC8HoR0aFVfakxqd+ruG1hahbvjrnV9ih3tJJ5QxKfR5ltvetBxWyTVzjQ== X-Received: by 2002:a63:fb41:: with SMTP id w1-v6mr15900303pgj.321.1540857166303; Mon, 29 Oct 2018 16:52:46 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.250]) by smtp.gmail.com with ESMTPSA id k13-v6sm22537981pff.30.2018.10.29.16.52.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 16:52:45 -0700 (PDT) From: Florian Fainelli <f.fainelli@gmail.com> To: linux-kernel@vger.kernel.org Subject: [PATCH 6/6] of/fdt: Remove definition check for __early_init_dt_declare_initrd() Date: Mon, 29 Oct 2018 16:52:06 -0700 Message-Id: <20181029235206.30060-7-f.fainelli@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181029235206.30060-1-f.fainelli@gmail.com> References: <20181029235206.30060-1-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181029_165254_883933_65426885 X-CRM114-Status: GOOD ( 13.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: CHANDAN VN <chandan.vn@samsung.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, Stefan Agner <stefan@agner.ch>, Masahiro Yamada <yamada.masahiro@socionext.com>, deanbo422@gmail.com, Frank Rowand <frowand.list@gmail.com>, Florian Fainelli <f.fainelli@gmail.com>, linux@armlinux.org.uk, rppt@linux.ibm.com, Andrey Ryabinin <aryabinin@virtuozzo.com>, Laura Abbott <labbott@redhat.com>, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE" <devicetree@vger.kernel.org>, Marc Zyngier <marc.zyngier@arm.com>, Andrey Konovalov <andreyknvl@google.com>, Kristina Martsenko <kristina.martsenko@arm.com>, Russell King <rmk+kernel@armlinux.org.uk>, Rob Herring <robh+dt@kernel.org>, green.hu@gmail.com, gxt@pku.edu.cn, "moderated list:ARM64 PORT AARCH64 ARCHITECTURE" <linux-arm-kernel@lists.infradead.org>, ard.biesheuvel@linaro.org, Johannes Weiner <hannes@cmpxchg.org>, Andrew Morton <akpm@linux-foundation.org>, Robin Murphy <robin.murphy@arm.com>, Greg Hackmann <ghackmann@android.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
arm64: Get rid of __early_init_dt_declare_initrd()
|
expand
|
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 313cd4f24258..3d84fe79eeb4 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -892,7 +892,6 @@ const void * __init of_flat_dt_match_machine(const void *default_match, } #ifdef CONFIG_BLK_DEV_INITRD -#ifndef __early_init_dt_declare_initrd static void __early_init_dt_declare_initrd(unsigned long start, unsigned long end) { @@ -904,7 +903,6 @@ static void __early_init_dt_declare_initrd(unsigned long start, phys_initrd_size = end - start; #endif } -#endif /** * early_init_dt_check_for_initrd - Decode initrd location from flat tree
With the one and only architecture (ARM64) no longer defining a custom __early_init_dt_declare_initrd() function, just get rid of the check for that function being already defined. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> --- drivers/of/fdt.c | 2 -- 1 file changed, 2 deletions(-)