lkml.org 
[lkml]   [2009]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2009-06-22 17:35    [from the cache]
©2003-2011 Jasper Spaans