From patchwork Thu Jun 4 21:49:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 480896 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id B26091401AF for ; Fri, 5 Jun 2015 07:49:37 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=ClVpuOHB; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932173AbbFDVtf (ORCPT ); Thu, 4 Jun 2015 17:49:35 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:34775 "EHLO mail-oi0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932068AbbFDVtc (ORCPT ); Thu, 4 Jun 2015 17:49:32 -0400 Received: by oifu123 with SMTP id u123so40837976oif.1 for ; Thu, 04 Jun 2015 14:49:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=Bwxj26chxbAlvJk7F+dz+VMY/3Bho1LEVN6/XCj6ZLU=; b=ClVpuOHBpjTTsCSAG8vj3Pq/In0ytqnrZkPCApXz6NTat/wTn7G1r2jelcibVyqhH2 jCrlbJuF51gdYbW2yCNJALBwykwPCFVem6BmhsM0FqDdrNC+Can9lx1weNfY8F5T6Ig6 q/fLTsngj7WJHXkVA+bbQ27pjPqPH5StnLEeGymjRt9WKI1osmFFdsShRXOdsyCyJE/s gswwVeLE6jccOdA2BT+dl0LJ5CZTC9PiysAbtN6x/Q1xVric/FX1CXPYzHVxobZET2Ov FoA53H2Wv/50SI/n0jtzmUmt11oM4UhxWntmfE7kZvTNud7V74INFhzFhCS1QSlO0JBI ii2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:from:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding; bh=Bwxj26chxbAlvJk7F+dz+VMY/3Bho1LEVN6/XCj6ZLU=; b=ZOFddOje5ptddj+YGs3mm2U0+DiYVuhRh+kSsVSZFcE9YJohusmfsx3d+dzQZtMuPy tIc64jAM+wLe4wbXdnFJMbkcgevPp3bZAJcpx+95/emmt5YCnarMwcvjXmGhz2WY7jH/ +GfOFPZJIT3hlEULfY85SY9FKDwT6R4icJKzP/42cq34yJV5/d+XiiyyX38eOYYA/OAs dbJ7u7s/nq6TJv/AjABWP6fTmn5ZIsLn4xkltgk8v0RuCe4PsNwI2M4SKBpCRCGX0NVV aWJwUep1vv+xYghbEV0TCeuIw+UrnivSoi478fAUYNRAQMAQ1qga1v/zKqX2kxhonhCq znDg== X-Gm-Message-State: ALoCoQmHCnPingMzUVFsfMVMfnYebDhaGSPxDJV3H6AXzfbqufDlQYRYO+3EUZMjnPt1Zv4Bd4Cp X-Received: by 10.182.80.68 with SMTP id p4mr131228obx.46.1433454571500; Thu, 04 Jun 2015 14:49:31 -0700 (PDT) Received: from localhost (172-9-203-140.lightspeed.spfdmo.sbcglobal.net. [172.9.203.140]) by mx.google.com with ESMTPSA id yr6sm2188725obc.23.2015.06.04.14.49.30 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 04 Jun 2015 14:49:30 -0700 (PDT) Subject: [PATCH 1/7] microblaze/PCI: Remove unused declarations To: linux-pci@vger.kernel.org From: Bjorn Helgaas Cc: Michal Simek Date: Thu, 04 Jun 2015 16:49:29 -0500 Message-ID: <20150604214929.2399.85988.stgit@bhelgaas-glaptop2.roam.corp.google.com> In-Reply-To: <20150604214614.2399.5142.stgit@bhelgaas-glaptop2.roam.corp.google.com> References: <20150604214614.2399.5142.stgit@bhelgaas-glaptop2.roam.corp.google.com> User-Agent: StGit/0.16 MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org The following declarations were copied from powerpc but are unused on microblaze: struct pci_controller *init_phb_dynamic(struct device_node *dn) int remove_phb_dynamic(struct pci_controller *phb) struct pci_dev *of_create_pci_dev(struct device_node *node, ...) void of_scan_pci_bridge(struct device_node *node, ...) void of_scan_bus(struct device_node *node, struct pci_bus *bus) void of_rescan_bus(struct device_node *node, struct pci_bus *bus) Remove them. Signed-off-by: Bjorn Helgaas CC: Michal Simek Reviewed-by: Michal Simek --- arch/microblaze/include/asm/pci.h | 12 ------------ 1 file changed, 12 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h index 468aca8..b6b5b3c 100644 --- a/arch/microblaze/include/asm/pci.h +++ b/arch/microblaze/include/asm/pci.h @@ -102,18 +102,6 @@ extern void pcibios_finish_adding_to_bus(struct pci_bus *bus); extern void pcibios_resource_survey(void); -extern struct pci_controller *init_phb_dynamic(struct device_node *dn); -extern int remove_phb_dynamic(struct pci_controller *phb); - -extern struct pci_dev *of_create_pci_dev(struct device_node *node, - struct pci_bus *bus, int devfn); - -extern void of_scan_pci_bridge(struct device_node *node, - struct pci_dev *dev); - -extern void of_scan_bus(struct device_node *node, struct pci_bus *bus); -extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus); - extern int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap);