aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/smsc/smc91x.h
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2018-06-17 19:02:11 +0200
committerRobert Jarzmik <robert.jarzmik@free.fr>2018-06-21 10:45:47 +0200
commitcbc654c88178b7dc3b63f57278cb917ffdb629cc (patch)
tree6c4cc472c45eca2b9074abd00be658852985dfbb /drivers/net/ethernet/smsc/smc91x.h
parentnet: smc911x: remove the dmaengine compat need (diff)
downloadlinux-dev-cbc654c88178b7dc3b63f57278cb917ffdb629cc.tar.xz
linux-dev-cbc654c88178b7dc3b63f57278cb917ffdb629cc.zip
net: smc91x: remove the dmaengine compat need
As the pxa architecture switched towards the dmaengine slave map, the old compatibility mechanism to acquire the dma requestor line number and priority are not needed anymore. This patch simplifies the dma resource acquisition, using the more generic function dma_request_slave_channel(). Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/smsc/smc91x.h')
-rw-r--r--drivers/net/ethernet/smsc/smc91x.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/smsc/smc91x.h b/drivers/net/ethernet/smsc/smc91x.h
index b337ee97e0c0..a27352229fc2 100644
--- a/drivers/net/ethernet/smsc/smc91x.h
+++ b/drivers/net/ethernet/smsc/smc91x.h
@@ -301,7 +301,6 @@ struct smc_local {
* as RX which can overrun memory and lose packets.
*/
#include <linux/dma-mapping.h>
-#include <linux/dma/pxa-dma.h>
#ifdef SMC_insl
#undef SMC_insl