]> git.baikalelectronics.ru Git - kernel.git/commit
eeepc-laptop: Fix build failure with HOTPLUG_PCI && !SYSFS
authorIngo Molnar <mingo@elte.hu>
Mon, 29 Jun 2009 08:07:54 +0000 (10:07 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Jun 2009 16:40:38 +0000 (09:40 -0700)
commit9331fa413220456352aa2223a7ec442afacfd873
tree89516517aef5d10668a3946e079419cc4e2daa80
parent87c2c4a88fde41f44c9896a970ab18d643f5cf28
eeepc-laptop: Fix build failure with HOTPLUG_PCI && !SYSFS

FYI, there's a post-rc1 build regression with certain configs:

 drivers/built-in.o: In function `pci_hp_deregister':
 (.text+0xb166): undefined reference to `pci_hp_remove_module_link'
 drivers/built-in.o: In function `pci_hp_deregister':
 (.text+0xb19f): undefined reference to `pci_destroy_slot'
 drivers/built-in.o: In function `__pci_hp_register':
 (.text+0xb583): undefined reference to `pci_create_slot'
 drivers/built-in.o: In function `__pci_hp_register':
 (.text+0xb5b1): undefined reference to `pci_hp_create_module_link'
 make: *** [.tmp_vmlinux1] Error 1

Caused by:

488065675b6939c3a710b4f4f7c1a0cce08f0fa8 is first bad commit
| commit 488065675b6939c3a710b4f4f7c1a0cce08f0fa8
| Date:   Thu Jun 25 13:25:36 2009 +0200
|
|     eeepc-laptop: Register as a pci-hotplug device

which changed the driver to use the PCI hotplug infrastructure, but
didn't do a good job on the Kconfig rules.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Len Brown <len.brown@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/platform/x86/Kconfig