From patchwork Tue Oct 25 19:13:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13019777 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A0EE2FA373E for ; Tue, 25 Oct 2022 19:14:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Uo0qC3hiH56kr0Hz7F/fZmaQJE9m0N2VA8aJ6oYP4SU=; b=vvqMJRJSzWgCzf wQIPgOnYpXfLTiS84w+cWn4F5bSFb/KuXP9eP8KQZuDUPvVTL5UDsyHMobgKCItZPosSNWZppWL5J ZYdDnjNiAJMKwZ5oKLEczV0ndEJZd/LZMdIuMWgxZhE0SJ6/siecuiBoxdX7iiIk66e50k21m7HkJ NLvi21KxPkLyDXNEW49jPIOXwu3SJqLFijADrNgfBwYnpASgp2xZA9jTajMb/72yhkjUF9bjfnLhO 601lL7T+sAedxoFasXoTQUgQJCr4ZyzlAlOF4h3GVMm02upSGmoV6eHv/CcpGoVtW+IZ74PCQiJy+ yxoVXxx4TWMaoRaKFQtQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1onPN2-006omo-Pc; Tue, 25 Oct 2022 19:13:52 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1onPMz-006oli-09 for linux-arm-kernel@lists.infradead.org; Tue, 25 Oct 2022 19:13:50 +0000 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 ams.source.kernel.org (Postfix) with ESMTPS id C127FB81DD9; Tue, 25 Oct 2022 19:13:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 394ACC433C1; Tue, 25 Oct 2022 19:13:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666725225; bh=5F+O2pwC19tirJAAthWqefE6lFYboJT1GO16yUtYi/U=; h=From:To:Cc:Subject:Date:From; b=ro6XmYyo0oYU/rQAy14hwpZ0QG6BIcUJkiMuVsOupfw5Kh0lt4cgtaLhtjl6TvexT yjp315fppox53GCqZXwhdkRZI9IQzxxAtaUtPTLm1D0up/DhdgHWDt04mjWwRRzlAU B0N8SJv/RGMEZCUdl3FZFu6UT2ij2W4dDoY0KV7eh2jE4nAWP3Eh5Spo4P8bGOEQb8 Kp/2U6ip8dE5WrOIwgQRmn2ZYvxAI7Yv44NE9uZvIbFpm5C9k+n8h7LFd4nlJEoggY vz9AnVYLOd7xod8H+8x/vZWKk6l05DT3u4jMyoo7HcxzVmHYP17QLgLCXMutcUe14T cNydQDDgJC/cg== From: Bjorn Helgaas To: Lorenzo Pieralisi Cc: Rob Herring , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: [PATCH 0/2] PCI: Drop controller CONFIG_OF dependencies Date: Tue, 25 Oct 2022 14:13:37 -0500 Message-Id: <20221025191339.667614-1-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221025_121349_221947_22C800DD X-CRM114-Status: UNSURE ( 8.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Bjorn Helgaas Drop controller CONFIG_OF dependencies so we can compile-test drivers even without CONFIG_OF being enabled. OF provides stub functions when CONFIG_OF is not set. Bjorn Helgaas (2): PCI: Drop of_match_ptr() to avoid unused variables PCI: Drop controller CONFIG_OF dependencies drivers/pci/controller/Kconfig | 15 ++------------- drivers/pci/controller/cadence/Kconfig | 6 ------ drivers/pci/controller/dwc/Kconfig | 25 ++++++++++++------------- drivers/pci/controller/mobiveil/Kconfig | 1 - drivers/pci/controller/pci-ftpci100.c | 2 +- drivers/pci/controller/pci-v3-semi.c | 2 +- 6 files changed, 16 insertions(+), 35 deletions(-)