xtensa: implement dma_to_phys and phys_to_dma
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 7 Nov 2015 03:59:51 +0000 (06:59 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 8 Nov 2015 22:25:38 +0000 (01:25 +0300)
commit4c3dab398d1317546d22b27be1a73b2c83ec7153
tree29cb959bef3622113dfe2e5f15bbe7dfdd696ab1
parentc7ca9fe17b84719ef2edbe854e1b0cac04a91e2f
xtensa: implement dma_to_phys and phys_to_dma

This fixes the following build error seen in -next:

  drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c:143:2: error:
  implicit declaration of function 'dma_to_phys'

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/dma-mapping.h