NIOS2: use dma_addr_t in dma_alloc_coherent
This allows to consolidate the prototype of this function across
architectures. Also guard against calles that pass in NULL as the
dma handle pointer.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f61fa09 commit 394a3533a8c66400aeeddf69c5c2c45fb598a946
@Lucas Stach Lucas Stach authored on 5 Mar 2015
Sascha Hauer committed on 6 Mar 2015
Showing 3 changed files
View
arch/nios2/include/asm/dma-mapping.h
View
arch/nios2/include/asm/types.h
View
drivers/net/altera_tse.c