drm/armada: don't abuse DMA_ERROR_CODE
authorChristoph Hellwig <hch@lst.de>
Mon, 22 May 2017 08:46:22 +0000 (10:46 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 20 Jun 2017 09:12:58 +0000 (11:12 +0200)
commitb400585720820077704c84813930a3e255f87a23
tree00df9e6dd202c11182dd76d4745c98138562e82f
parente0c7a510aea75db4927d810fb0a84233641b53c3
drm/armada: don't abuse DMA_ERROR_CODE

dev_addr isn't even a dma_addr_t, and DMA_ERROR_CODE has never been
a valid driver API.  Add a bool mapped flag instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/gpu/drm/armada/armada_fb.c
drivers/gpu/drm/armada/armada_gem.c
drivers/gpu/drm/armada/armada_gem.h