• Ivan Kokshaysky's avatar
    [PATCH] PCI: fix non-hotplug build · 336aeeaa
    Ivan Kokshaysky authored
    Current BK won't build when CONFIG_HOTPLUG is not set due to
    undefined references to pci_destroy_dev in hotplug.c.
    I think it makes sense to not compile hotplug.c in this case at all.
    Also, this allows to get rid of several function which are unused
    in non-hotplug kernel.
    
    Tested on Alpha.
    336aeeaa
hotplug.c 6.38 KB