usb: host: ohci-sm501: init genalloc for local memory
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Wed, 29 May 2019 10:28:41 +0000 (13:28 +0300)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Jun 2019 14:00:07 +0000 (16:00 +0200)
commit7d9e6f5aebe8c03f1a5199ca5c30f0c53042af23
treebdb881d094b69acb0fc2232b9fa97f3f2a1b2ece
parentb0310c2f09bbe8aebefb97ed67949a3a7092aca6
usb: host: ohci-sm501: init genalloc for local memory

In preparation for dropping the existing "coherent" dma mem declaration
APIs, replace the current dma_declare_coherent_memory() based mechanism
with the creation of a genalloc pool that will be used in the OHCI
subsystem as replacement for the DMA APIs.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/usb/host/ohci-sm501.c