Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757320Ab2FZFsB (ORCPT ); Tue, 26 Jun 2012 01:48:01 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:44799 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750809Ab2FZFr6 (ORCPT ); Tue, 26 Jun 2012 01:47:58 -0400 Message-ID: <4FE94D08.7040603@monstr.eu> Date: Tue, 26 Jun 2012 07:47:52 +0200 From: Michal Simek Reply-To: monstr@monstr.eu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Myron Stowe CC: bhelgaas@google.com, linux-pci@vger.kernel.org, rth@twiddle.net, ink@jurassic.park.msu.ru, mattst88@gmail.com, linux@arm.linux.org.uk, starvik@axis.com, jesper.nilsson@axis.com, tony.luck@intel.com, fenghua.yu@intel.com, ralf@linux-mips.org, yasutake.koichi@jp.panasonic.com, jejb@parisc-linux.org, deller@gmx.de, benh@kernel.crashing.org, paulus@samba.org, lethal@linux-sh.org, davem@davemloft.net, cmetcalf@tilera.com, gxt@mprc.pku.edu.cn, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, chris@zankel.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH 04/16] microblaze/PCI: Factor 'pcibios_setup()' out of microblaze References: <20120626033045.16434.17412.stgit@amt.stowe> <20120626033123.16434.47270.stgit@amt.stowe> In-Reply-To: <20120626033123.16434.47270.stgit@amt.stowe> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1471 Lines: 46 On 06/26/2012 05:31 AM, Myron Stowe wrote: > The PCI core provides a generic (__weak) 'pcibios_setup()' routine that > can be used by all architectures as a default. Drop microblaze's > architecture specific version in favor of that as it does not need to be > over-ridden. > > Signed-off-by: Myron Stowe > --- > > arch/microblaze/pci/pci-common.c | 5 ----- > 1 files changed, 0 insertions(+), 5 deletions(-) > > diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c > index ed22bfc..7b510ae 100644 > --- a/arch/microblaze/pci/pci-common.c > +++ b/arch/microblaze/pci/pci-common.c > @@ -192,11 +192,6 @@ void pcibios_set_master(struct pci_dev *dev) > /* No special bus mastering setup handling */ > } > > -char __devinit *pcibios_setup(char *str) > -{ > - return str; > -} > - > /* > * Reads the interrupt pin to determine if interrupt is use by card. > * If the interrupt is used, then gets the interrupt line from the > Acked-by: Michal Simek Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/