staging: mt7621-eth: Fix compilation error
authorKamal Heib <kamalheib1@gmail.com>
Mon, 7 May 2018 09:05:55 +0000 (12:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 May 2018 11:53:43 +0000 (13:53 +0200)
commit9cecd920a5032feb513ff955fcc4fea8bd82d537
tree8dca196298be57938e50a3a86fa46abdbb3f0d5c
parent267d901a7d59b19d1a1dbd021ba49a097fbe53af
staging: mt7621-eth: Fix compilation error

Fix the following comilation error by making sure that "phy_ring_head" is
defined as "dma_addr_t" and change "phy_ring_tail" to match it as both
should be "dma_addr_t".

error: passing argument 3 of â€˜dma_alloc_coherent’ from incompatible pointer type

Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-eth/mtk_eth_soc.c