]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
virtio-balloon: dependency fix
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 7 Sep 2012 00:32:20 +0000 (10:32 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 00:33:30 +0000 (10:33 +1000)
Devices should depend on virtio, not select it.  It's supposed to be
selected by the particular driver, e.g. VIRTIO_PCI.
Make balloon depend on VIRTIO and EXPERIMENTAL
(to match description).

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/Kconfig

index f38b17a86c359a18240cd7e2c243474aa7d0934c..271be8059b931500698ed20d7e03d3f099450751 100644 (file)
@@ -27,8 +27,7 @@ config VIRTIO_PCI
 
 config VIRTIO_BALLOON
        tristate "Virtio balloon driver (EXPERIMENTAL)"
-       select VIRTIO
-       select VIRTIO_RING
+       depends on EXPERIMENTAL && VIRTIO
        ---help---
         This driver supports increasing and decreasing the amount
         of memory within a KVM guest.