From: Heiko Carstens Date: Tue, 15 Nov 2011 09:13:24 +0000 (+0100) Subject: virtio: add HAS_IOMEM dependency to MMIO platform bus driver X-Git-Tag: MMI-PSA29.97-13-9~17969^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bd20817f733ceb0291e0449106307ffc939006ba;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git virtio: add HAS_IOMEM dependency to MMIO platform bus driver Fix this compile error on s390: CC [M] drivers/virtio/virtio_mmio.o drivers/virtio/virtio_mmio.c: In function 'vm_get_features': drivers/virtio/virtio_mmio.c:107:2: error: implicit declaration of function 'writel' Cc: Christian Borntraeger Signed-off-by: Heiko Carstens Acked-by: Pawel Moll Signed-off-by: Rusty Russell --- diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig index 816ed08e7cf3..1a61939b85fc 100644 --- a/drivers/virtio/Kconfig +++ b/drivers/virtio/Kconfig @@ -37,7 +37,7 @@ config VIRTIO_BALLOON config VIRTIO_MMIO tristate "Platform bus driver for memory mapped virtio devices (EXPERIMENTAL)" - depends on EXPERIMENTAL + depends on HAS_IOMEM && EXPERIMENTAL select VIRTIO select VIRTIO_RING ---help---