]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
net,marvell: Add dependency on HAS_IOMEM
authorRichard Weinberger <richard@nod.at>
Tue, 14 Jan 2014 15:45:43 +0000 (16:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 22:51:22 +0000 (14:51 -0800)
On archs like S390 or um this driver cannot build nor work.
Make it depend on HAS_IOMEM to bypass build failures.

drivers/built-in.o: In function `orion_mdio_probe':
drivers/net/ethernet/marvell/mvmdio.c:228: undefined reference to `devm_ioremap'

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/Kconfig

index a49e81bdf8e8fab4ca445d92d438717d25083035..6300fd27f2dbcc51157e362db65510c501b3ca6a 100644 (file)
@@ -33,6 +33,7 @@ config MV643XX_ETH
 
 config MVMDIO
        tristate "Marvell MDIO interface support"
+       depends on HAS_IOMEM
        select PHYLIB
        ---help---
          This driver supports the MDIO interface found in the network