]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: fix undefined reference to 'pci_fixup_final_inited'
authorMyron Stowe <myron.stowe@redhat.com>
Fri, 13 Jul 2012 20:29:00 +0000 (14:29 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 16 Jul 2012 15:14:49 +0000 (09:14 -0600)
commit95df8b8708a8b381bf276d83c56f7b4e7de04a71
tree930878161272c1c9c5a7f52988cc68bc53878c60
parent735bff10c157fdbba2291e10ca3e28a59c7acc1c
PCI: fix undefined reference to 'pci_fixup_final_inited'

My "PCI: Integrate 'pci_fixup_final' quirks into hot-plug paths" patch
introduced an undefined reference to 'pci_fixup_final_inited' when
CONFIG_PCI_QUIRKS is not enabled (on x86_64):
  drivers/built-in.o: In function `pci_bus_add_device':
  (.text+0x4f62): undefined reference to `pci_fixup_final_inited'

This patch removes the external reference ending up with a result closer
to what we ultimately want when the boot path issues described in the
original patch are resolved.

References:
  https://lkml.org/lkml/2012/7/9/542    Original, offending, patch
  https://lkml.org/lkml/2012/7/12/338 Randy's catch

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
drivers/pci/bus.c
drivers/pci/quirks.c