mlxsw: Make pci module dependent on HAS_DMA and HAS_IOMEM
authorJiri Pirko <jiri@mellanox.com>
Thu, 6 Aug 2015 14:41:54 +0000 (16:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Aug 2015 05:54:09 +0000 (22:54 -0700)
commit74ed207e2a82dece0de0849df62cd450dec9d4d7
treea8a5ada178f497612eee8d439b7cc107eab4d6ae
parente61011b5e044b15727fc6ee330c17f1fc69faef8
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>
drivers/net/ethernet/mellanox/mlxsw/Kconfig