Messages in this thread | | | Date | Mon, 22 Jun 2009 16:29:19 +0100 | From | Russell King - ARM Linux <> | Subject | Re: [PATCH] PCI: remove pcibios_scan_all_fns() |
| |
On Mon, Jun 22, 2009 at 08:08:07AM -0600, Alex Chiang wrote: > This was #define'd as 0 on all platforms, so let's get rid of it. > > This change makes pci_scan_slot() slightly easier to read. > > Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> > Cc: Russell King <linux@arm.linux.org.uk>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
For:
> diff --git a/arch/arm/include/asm/pci.h b/arch/arm/include/asm/pci.h > index 0abf386..226cddd 100644 > --- a/arch/arm/include/asm/pci.h > +++ b/arch/arm/include/asm/pci.h > @@ -6,8 +6,6 @@ > > #include <mach/hardware.h> /* for PCIBIOS_MIN_* */ > > -#define pcibios_scan_all_fns(a, b) 0 > - > #ifdef CONFIG_PCI_HOST_ITE8152 > /* ITE bridge requires setting latency timer to avoid early bus access > termination by PIC bus mater devices
Thanks.
| |