ravb: Provide dev parameter to DMA API
authorKazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Wed, 30 Sep 2015 06:15:53 +0000 (15:15 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Oct 2015 12:05:19 +0000 (05:05 -0700)
commite2dbb33ad9545de6859747b92556a74a81bed8f5
treeac1fc3345a72e6e3e11117481a48b988b63ba5dd
parentf3a6bd393c2c5d0e6b16624ba99a1c5fa07bdb0b
ravb: Provide dev parameter to DMA API

This patch is in preparation for using this driver on arm64 where the
implementation of __dma_alloc_coherent fails if a device parameter is not
provided.

Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Masaru Nagai <masaru.nagai.vx@renesas.com>
[horms: squashed into a single patch]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb_main.c