amd-xgbe: Rename MAX_DMA_CHANNELS to avoid powerpc conflict
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Mon, 9 Jun 2014 14:19:32 +0000 (09:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 07:56:41 +0000 (00:56 -0700)
commitd5c4858237fe43c30714f4447ccec87d5fb3fcde
tree57dca61ff6852e95939651040c6fd431283f30f3
parent581d9baa21dbd69b5b02cd654d858d064c400769
amd-xgbe: Rename MAX_DMA_CHANNELS to avoid powerpc conflict

MAX_DMA_CHANNELS is defined in asm/scatterlist.h of the powerpc
architecture.  Rename this #define in xgbe.h to avoid the
redefined warning issued during compilation.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-main.c
drivers/net/ethernet/amd/xgbe/xgbe.h