ChangeSet 1.1429.2.4, 2003/06/25 17:03:44-07:00, willy@debian.org

[PATCH] PCI: more PCI gubbins

I noticed we have a couple of redundancies in drivers/pci/Makefile,
have a patch...


 drivers/pci/Makefile |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)


diff -Nru a/drivers/pci/Makefile b/drivers/pci/Makefile
--- a/drivers/pci/Makefile	Wed Jun 25 17:38:09 2003
+++ b/drivers/pci/Makefile	Wed Jun 25 17:38:09 2003
@@ -8,7 +8,7 @@
 obj-$(CONFIG_PROC_FS) += proc.o
 
 ifndef CONFIG_SPARC64
-obj-$(CONFIG_PCI) += setup-res.o
+obj-y += setup-res.o
 endif
 
 obj-$(CONFIG_HOTPLUG) += hotplug.o
@@ -29,12 +29,7 @@
 obj-$(CONFIG_SGI_IP32) += setup-irq.o
 obj-$(CONFIG_X86_VISWS) += setup-irq.o
 
-# CompactPCI hotplug requires the pbus_* functions
-ifdef CONFIG_HOTPLUG_PCI_CPCI
-obj-y += setup-bus.o
-endif
-
-# Hotplug (eg, cardbus) now requires setup-bus
+# Cardbus & CompactPCI use setup-bus
 obj-$(CONFIG_HOTPLUG) += setup-bus.o
 
 ifndef CONFIG_X86
