Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2056074rwl; Sat, 8 Apr 2023 07:04:03 -0700 (PDT) X-Google-Smtp-Source: AKy350YZjq3DZ7JS+nlu9R0+62I3lemNuqTK9Ekan+yg90kacKargmJJrF8Za1pq41Xdzuc356B8 X-Received: by 2002:a17:903:11c8:b0:19f:1c64:c9d8 with SMTP id q8-20020a17090311c800b0019f1c64c9d8mr7240273plh.14.1680962643498; Sat, 08 Apr 2023 07:04:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680962643; cv=none; d=google.com; s=arc-20160816; b=mkZmPM//ywj/ZZky2xfxPIc0sesInU57XIQ/WHoZbHCb0Wr7kR58g5iGjpYRHuuMIi pg/wpWtIWhJRmY/UUlKGkDqbk9uTP4FQfMWMMTcl4Qi+EmKrLOL6WaHn2CAnwnAb6WRE AyoNcv5mBEm2hz/5RPk/nXVI44noq2MNHsyJq4caI4gHzgTgPztfWbZ664p7j9nic5w+ 94LYGyTXVpC62D6/1TQ66S2o+o7CUrTtyst/NqzySPMlrgRlx/eMVofeaGlzTlTx0ntB 2CsBl5GdBPVj3UbRhccwqx/cgytMeno1Xkyz3j/b3DnmK35cNYgZHQ8OEt5AYRmCicKT taVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WtN7zYqB8p85xQMjcxuuVz1iVUwUD1/BRBloG12ijH0=; b=JiruEtdY9thyDQRE9CiUSYCGmybyueG57tqb/kKqeXS7hQn+qRBykEf+e2j9a8h7oo aMtsUskPKaaPS6vaKsIpBt5tYk7MY1qdZCw3+B8Z8VfyPSdbSfZZXBkdAU1qzNQih//X U5FIutleGP0HSn8NUuy4BG4PN8tbR3sE6Sap/GZVNPAxz4JI2sSNtymM54BMB1Urs31Q au1iqgj3GHcPbsbwziN/KQesPJ16j2bYQQ4Oip2cb4OVs9wMNihL9gmYicf56UKaIk3w 1JL9UXdJXcpKLnBzDpiRkJV5niaiCdPdjZD3CVNEI/lwMEb+VXMJD5v1x0CHXrzGR/eK YReA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UPnN8Gzz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020a634b08000000b00517a4a75525si2526951pga.884.2023.04.08.07.03.50; Sat, 08 Apr 2023 07:04:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UPnN8Gzz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230126AbjDHOCz (ORCPT + 99 others); Sat, 8 Apr 2023 10:02:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229852AbjDHOCh (ORCPT ); Sat, 8 Apr 2023 10:02:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0583EF99 for ; Sat, 8 Apr 2023 07:02:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 59C686159D for ; Sat, 8 Apr 2023 14:02:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A8D9C433A0; Sat, 8 Apr 2023 14:02:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680962548; bh=GGCC6nIysok7nRf7iQxTO/BAJu5Xzrmg55AbDqZKllk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UPnN8GzzL8eSxC1PHevEiO0J6Y3trRJtHFRr9FNNO/ug6afpyJzXnxKCIObo0eB9Q ctTRyaNDi78kHf/33i0MfdM2rN88ZBkjsJwLtDKbtKcZBrYWQy2juJoTANT2tq9pP3 /YrkOHisbFnduPcDzguSX27zC7gt6Xk4ZE1sOjwwfb3NfHvg4ut7+90Cle8rxI1xTq cLOQJCimaVkVJaeJEV9MwhI9f5ixfsfDqq0m5eXOzXOEtZHF+ex5q1fH9uuNvVSbcv g/w1lKEP5eDDq1WWIBX8uNTQaPJTyVwgKi/O2appN15WD/ynNPM4Ye5GJ9op11ObJY zj9bu1+1M8VGQ== Received: by pali.im (Postfix) id A01CA20C8; Sat, 8 Apr 2023 16:02:26 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Michael Ellerman , Christophe Leroy , Nicholas Piggin Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 06/13] powerpc/85xx: Remove #ifdef CONFIG_QUICC_ENGINE in mpc85xx_rdb Date: Sat, 8 Apr 2023 16:01:15 +0200 Message-Id: <20230408140122.25293-7-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230408140122.25293-1-pali@kernel.org> References: <20230408140122.25293-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christophe Leroy mpc85xx_qe_par_io_init() is a stub when CONFIG_QUICC_ENGINE is not set. CONFIG_UCC_GETH and CONFIG_SERIAL_QE depend on CONFIG_QUICC_ENGINE. Remove #ifdef CONFIG_QUICC_ENGINE Signed-off-by: Christophe Leroy Signed-off-by: Pali Rohár --- arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/platforms/85xx/mpc85xx_rdb.c b/arch/powerpc/platforms/85xx/mpc85xx_rdb.c index 64badacf126d..cdafecaecf56 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_rdb.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_rdb.c @@ -57,7 +57,6 @@ static void __init mpc85xx_rdb_setup_arch(void) fsl_pci_assign_primary(); -#ifdef CONFIG_QUICC_ENGINE mpc85xx_qe_par_io_init(); #if defined(CONFIG_UCC_GETH) || defined(CONFIG_SERIAL_QE) if (machine_is(p1025_rdb)) { @@ -90,7 +89,6 @@ static void __init mpc85xx_rdb_setup_arch(void) } #endif -#endif /* CONFIG_QUICC_ENGINE */ pr_info("MPC85xx RDB board from Freescale Semiconductor\n"); } -- 2.20.1