Message ID | 20090617161001.734321be@jbarnes-g45 (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/drivers/pci/slot.c b/drivers/pci/slot.c index eddb074..dd6c097 100644 --- a/drivers/pci/slot.c +++ b/drivers/pci/slot.c @@ -308,6 +308,7 @@ void pci_destroy_slot(struct pci_slot *slot) EXPORT_SYMBOL_GPL(pci_destroy_slot); #if defined(CONFIG_HOTPLUG_PCI) || defined(CONFIG_HOTPLUG_PCI_MODULE) +#ifdef CONFIG_SYSFS #include <linux/pci_hotplug.h> /** * pci_hp_create_link - create symbolic link to the hotplug driver