mlxsw: Make pci module dependent on HAS_DMA and HAS_IOMEM
This resolves compile errors on um-allyesconfig. Note that there are many other drivers which have the same issue. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e61011b5e0
commit
74ed207e2a
|
@ -12,7 +12,7 @@ config MLXSW_CORE
|
||||||
|
|
||||||
config MLXSW_PCI
|
config MLXSW_PCI
|
||||||
tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
|
tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
|
||||||
depends on PCI && MLXSW_CORE
|
depends on PCI && HAS_DMA && HAS_IOMEM && MLXSW_CORE
|
||||||
default m
|
default m
|
||||||
---help---
|
---help---
|
||||||
This is PCI bus implementation for Mellanox Technologies Switch ASICs.
|
This is PCI bus implementation for Mellanox Technologies Switch ASICs.
|
||||||
|
|
Loading…
Reference in New Issue