Patchwork [02/16] Compile device-hotplug on all targets

login
register
mail settings
Submitter Alexander Graf
Date Nov. 11, 2011, 5:49 p.m.
Message ID <1321033763-19881-3-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/125242/
State New
Headers show

Comments

Alexander Graf - Nov. 11, 2011, 5:49 p.m.
All guest targets could potentially implement hotplugging. With the next
patches in this set I will also reflect this in the monitor interface.

So let's always compile it in. It shouldn't hurt.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 Makefile.target |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

Patch

diff --git a/Makefile.target b/Makefile.target
index a111521..21eec0a 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -228,12 +228,15 @@  ifeq ($(CONFIG_KVM), y)
 endif
 obj-$(CONFIG_IVSHMEM) += ivshmem.o
 
+# Generic hotplugging
+obj-y += device-hotplug.o
+
 # Hardware support
 obj-i386-y += vga.o
 obj-i386-y += mc146818rtc.o pc.o
 obj-i386-y += cirrus_vga.o sga.o apic.o ioapic.o piix_pci.o
 obj-i386-y += vmport.o
-obj-i386-y += device-hotplug.o pci-hotplug.o smbios.o wdt_ib700.o
+obj-i386-y += pci-hotplug.o smbios.o wdt_ib700.o
 obj-i386-y += debugcon.o multiboot.o
 obj-i386-y += pc_piix.o
 obj-i386-$(CONFIG_KVM) += kvmclock.o