Skip to content

Commit 74ed207

Browse files
jpirkodavem330
authored andcommitted
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 <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent e61011b commit 74ed207

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/mellanox/mlxsw

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlxsw/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ config MLXSW_CORE
1212

1313
config MLXSW_PCI
1414
tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
15-
depends on PCI && MLXSW_CORE
15+
depends on PCI && HAS_DMA && HAS_IOMEM && MLXSW_CORE
1616
default m
1717
---help---
1818
This is PCI bus implementation for Mellanox Technologies Switch ASICs.

0 commit comments

Comments
 (0)