From patchwork Wed Feb 26 23:41:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 3729211 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 33B74BF13A for ; Wed, 26 Feb 2014 23:44:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 59D1C201FE for ; Wed, 26 Feb 2014 23:44:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 79A1020149 for ; Wed, 26 Feb 2014 23:44:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754439AbaBZXlr (ORCPT ); Wed, 26 Feb 2014 18:41:47 -0500 Received: from mail-ie0-f174.google.com ([209.85.223.174]:57933 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754431AbaBZXlp (ORCPT ); Wed, 26 Feb 2014 18:41:45 -0500 Received: by mail-ie0-f174.google.com with SMTP id rp18so1394522iec.33 for ; Wed, 26 Feb 2014 15:41:45 -0800 (PST) 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=+GV0ywF6Fnayr7AWeDHvni7n/8dp+2019xLuZzNIaDc=; b=NsbWiKsZamNOKiHLVE//l2zz7/ZQDz8XEVcQ9Dpjg9HyJe+rUaHBCFMTFnNFRx03Ia Cik33QGAP2LB6KTQvtavh+s/deNG2HJaagr2LvR1EhwclOD3EUMO1jkEOgv1ZU//TVRy N4Fg1qJlGLinzQvsKG7VgZ94Drg887H/SZcYaGUHXVQHwl7jYybtFVFixwb5yn90nQUI tRvDU66wesn9jA9t+a+fpfLWPqxomoT+mrbUqdNRxTaTGt99T6YzjmMB3zHojufImBlt rSrB3YSuelGgHzZEX1MeypAamxHaKcSMKKUywaPiqWFYD7eui5JG4h7c8MLXqgfROTCV sF7A== 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=+GV0ywF6Fnayr7AWeDHvni7n/8dp+2019xLuZzNIaDc=; b=PNT9PFa+61wR2r40duyBOpwtgCoKKMPtIGIOeGDmzmhX3Q7bWh5/VDJbhjDnY2evE1 H1QjEWUcF349HeKzRA/e4lokpQ+/IyaFrRffwq2nWxxkXZkONL+v5tx8kVS0IszNuRE9 7Zy0gkVpnWdipjQIZlGq1qGCK9LRw/t7KbYxEb78oZPj5uG8jXhBReBYiq1tOXJB6fwv tm6zwUhakDXqLwVLS2u8Nz418cjE7p3S0e2Wl+fUvQk/QLit2uHEihmuYROxqtO4XVtZ hZx5HkyjIz4tALebSqdhdbe/plbLchGaVJkblKy26wu2cF39noQ1vXCFL4XQbfCIVIpv qFPg== X-Gm-Message-State: ALoCoQkEIXmrqE84GjiIC//hFOMlCnZYMNmgpzYtiMDlRnBRI1OlvugTFiImJqEJNcdGnf23AZnt0FHEoD3Ko17yHfbaONG8hY+kCqr4HLFq/BTKeMrTLx44aGe8c1tAwRBSaA5+LbIzzHh5PgFnCKwo/8eOXlMyqC4scxai4z+MHYfgYnzfVe2YH7FnEHTzJ4fmmmiPEC6od8zjDVGBa+V9xVOl7SqPhNyXF+N3QMSPB/UvslZJ/TM= X-Received: by 10.43.81.196 with SMTP id zz4mr2074173icb.61.1393458104894; Wed, 26 Feb 2014 15:41:44 -0800 (PST) Received: from localhost ([172.16.49.60]) by mx.google.com with ESMTPSA id c17sm53414512igo.4.2014.02.26.15.41.44 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 26 Feb 2014 15:41:44 -0800 (PST) Subject: [PATCH 2/7] alpha/PCI: Use default pcibios_enable_device() To: linux-pci@vger.kernel.org From: Bjorn Helgaas Cc: linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org Date: Wed, 26 Feb 2014 16:41:42 -0700 Message-ID: <20140226234142.18970.8692.stgit@bhelgaas-glaptop.roam.corp.google.com> In-Reply-To: <20140226233541.18970.83328.stgit@bhelgaas-glaptop.roam.corp.google.com> References: <20140226233541.18970.83328.stgit@bhelgaas-glaptop.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 X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We don't need anything arch-specific in pcibios_enable_device(), so drop the arch implementation and use the default generic one. Signed-off-by: Bjorn Helgaas CC: linux-alpha@vger.kernel.org --- arch/alpha/kernel/pci.c | 6 ------ 1 file changed, 6 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/alpha/kernel/pci.c b/arch/alpha/kernel/pci.c index edb4e0097b75..076c35cd6cde 100644 --- a/arch/alpha/kernel/pci.c +++ b/arch/alpha/kernel/pci.c @@ -254,12 +254,6 @@ void pcibios_fixup_bus(struct pci_bus *bus) } } -int -pcibios_enable_device(struct pci_dev *dev, int mask) -{ - return pci_enable_resources(dev, mask); -} - /* * If we set up a device for bus mastering, we need to check the latency * timer as certain firmware forgets to set it properly, as seen