提交 3d3c2ae1 编写于 作者: G Greg KH 提交者: Linus Torvalds

[PATCH] PCI: fix !CONFIG_HOTPLUG pci build problem

Here's a patch to fix the build issue when CONFIG_HOTPLUG is not enabled
in 2.6.13-rc2.
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 a18bcb74
...@@ -17,13 +17,13 @@ ...@@ -17,13 +17,13 @@
* Dynamic device IDs are disabled for !CONFIG_HOTPLUG * Dynamic device IDs are disabled for !CONFIG_HOTPLUG
*/ */
#ifdef CONFIG_HOTPLUG
struct pci_dynid { struct pci_dynid {
struct list_head node; struct list_head node;
struct pci_device_id id; struct pci_device_id id;
}; };
#ifdef CONFIG_HOTPLUG
/** /**
* store_new_id * store_new_id
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册