diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2020-04-01 18:57:06 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-04-19 16:56:31 +0100 |
| commit | c0ae3591d900c0d1a54a86666c2102dd39b3d4f7 (patch) | |
| tree | b97ecb350e906a1447ea15a96cecf05403c19fc9 /include/linux/debugobjects.h | |
| parent | 8a80a71d9020b0066cb035e7cedfc26334a2aa44 (diff) | |
iio: dma-buffer: Cleanup buffer.h/buffer_impl.h includes
The IIO DMA buffer is a DMA buffer implementation. As such it should
include buffer_impl.h rather than buffer.h.
The include to buffer.h in buffer-dma.h should be buffer_impl.h so it has
access to the struct iio_buffer definition. The code currently only works
because all places that use buffer-dma.h include buffer_impl.h before it.
The include to buffer.h in industrialio-buffer-dma.c can be removed since
those file does not reference any of buffer consumer functions.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
