From patchwork Thu Jun 4 19:57:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 480868 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 1BA5A14027F for ; Fri, 5 Jun 2015 05:57:13 +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=NdGcjOGb; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753136AbbFDT5M (ORCPT ); Thu, 4 Jun 2015 15:57:12 -0400 Received: from mail-oi0-f49.google.com ([209.85.218.49]:34704 "EHLO mail-oi0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752282AbbFDT5L (ORCPT ); Thu, 4 Jun 2015 15:57:11 -0400 Received: by oifu123 with SMTP id u123so38896430oif.1 for ; Thu, 04 Jun 2015 12:57:10 -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:user-agent:mime-version :content-type:content-transfer-encoding; bh=dhhcCmYIBxomKFBFlkWic/j4MnJV4Ga6ZocGb4QaUT4=; b=NdGcjOGb56KAHNTnoaR3ukHuCti1L/YsW19bZHhQX0hrsBTOfDjdtsvmeuM9WCIt+L APkgA3rztOizDvIWPw15XPm8iwFgbCEFqewOhyLmQwZQsKsU7RnT9g4gmok1qqZi3QNQ B0npmiaoSKRjxk8TjI3VKEH6/b/JFXpm939ySQiOpuNHRee2DxrGaG8EKJd+YJeEXU74 rEZlsiDhVkwEsv8MJ/yhB5vS6uph09vXsmhXz/A1X+RUtrboiOfqakEBBqEPmmkSVJCo dYDqZ/HEXRhm9XOkR8dKR8ey8P4D8tchTijxLuI6z4HjE7HZ+iSzo6Lo3oKA6I3nv6gF MQwA== 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:user-agent :mime-version:content-type:content-transfer-encoding; bh=dhhcCmYIBxomKFBFlkWic/j4MnJV4Ga6ZocGb4QaUT4=; b=Ic+VppHIium86TQsjcJNnyQyStKw9+9MdF5FGoVc1P/phk4fw59+bK5Up73trj/yB7 Huoe1jfxz40nmT1Eh+hcOmBnXE4pWToRxAB8YldlTL/oRAIEFKiq0GHGIzx51EC6hoew jFzQraBsYS8PuQ7FKLbImUXuNpriakPND/Ed4lbFyg0bUkdPPS8CBZ83hlNMWtocvpZJ ohBh23v+FEuTwrQdSiRh20jleHpTQII8PBqqMkQHPmuDQ1MaZzGyGikbt8SwbasugXTO qcWF68YIHtKvTi2V/wut9xkE7Qv0K0uWB1tpzz3IUE7yAmwYxLzzZYswAIOWftCem7HH BWRQ== X-Gm-Message-State: ALoCoQloeGUtIwevwJeFO4l6OJWj6JQrKoUS5udj8IRWT3BiwwAiwys647zS1meK1axzujFMkVLv X-Received: by 10.202.209.137 with SMTP id i131mr31997811oig.57.1433447830555; Thu, 04 Jun 2015 12:57:10 -0700 (PDT) Received: from localhost (172-9-203-140.lightspeed.spfdmo.sbcglobal.net. [172.9.203.140]) by mx.google.com with ESMTPSA id r4sm2014361oih.15.2015.06.04.12.57.08 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 04 Jun 2015 12:57:09 -0700 (PDT) Subject: [PATCH] microblaze/PCI: Remove unused declarations To: Michal Simek From: Bjorn Helgaas Cc: linux-pci@vger.kernel.org Date: Thu, 04 Jun 2015 14:57:06 -0500 Message-ID: <20150604195706.17951.85004.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 --- 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);