]> git.baikalelectronics.ru Git - kernel.git/commit
ARM/PCI: Remove ARM's duplicate definition of 'pcibios_max_latency'
authorMyron Stowe <mstowe@redhat.com>
Tue, 7 Feb 2012 22:26:44 +0000 (15:26 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Feb 2012 09:35:32 +0000 (09:35 +0000)
commitf43ec23bc7b0bf440048df3f438685ef674ada1b
treedf2533028276a094b2b38c5922b0cf6561e5d1eb
parent02d021f6390c29f75a9c6adb6e95afba920e7cd7
ARM/PCI: Remove ARM's duplicate definition of 'pcibios_max_latency'

The patch series to re-factor PCI's 'latency timer' setup (re:
http://marc.info/?l=linux-kernel&m=131983853831049&w=2) forgot to
remove the ARM specific definition of 'pcibios_max_latency' once such
had been moved into the pci core resulting in ARM related compile
errors -
  drivers/built-in.o:(.data+0x230): multiple definition of
  `pcibios_max_latency'
  arch/arm/common/built-in.o:(.data+0x40c): first defined here
  make[1]: *** [vmlinux.o] Error 1

In the series, patch 2/16 (commit 8ba6c63eb2c) converted the ARM
specific version of 'pcibios_set_master()' to a non-inlined version.
This was done in preperation for hosting it up into PCI's core, which
was done in patch 10/16 (commit 754fe2d7d8a) of the series (and
where the removal of ARM's 'pcibios_max_latency' was overlooked).

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/it8152.c