# Re: \[PATCH 13/18\] fotg210-udc: pass struct device to DMA API functions

- From: Felipe Balbi \<balbi@kernel.org\>
- Date: 2019-02-01 13:20:46 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2019/02/5501354
- Thread: https://ratatoskr.run/linux-mips/2019/02/5501082/t.md

```text
Christoph Hellwig [ref] writes:

> The DMA API generally relies on a struct device to work properly, and
> only barely works without one for legacy reasons.  Pass the easily
> available struct device from the platform_device to remedy this.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>

In case you're taking the entire series:

Acked-by: Felipe Balbi <redacted>

-- 
balbi
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2019/02/5501354/attachment/0) (application/pgp-signature, 832 bytes)
