]> Pileus Git - ~andy/linux/commitdiff
virtio-balloon: dependency fix
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 28 Sep 2012 05:35:14 +0000 (15:05 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 28 Sep 2012 05:35:14 +0000 (15:05 +0930)
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.