dmaengine: hsu: Include headers we are direct user of

For the sake of integrity, include headers we are direct user of.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220713172235.22611-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
Andy Shevchenko 2022-07-13 20:22:35 +03:00 committed by Vinod Koul
parent 2c40c787d4
commit 9c06002682
5 changed files with 18 additions and 4 deletions

View File

@ -16,12 +16,20 @@
* port 3, and so on. * port 3, and so on.
*/ */
#include <linux/bits.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/device.h>
#include <linux/dmaengine.h> #include <linux/dmaengine.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/percpu-defs.h>
#include <linux/scatterlist.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/string.h>
#include <linux/spinlock.h>
#include "hsu.h" #include "hsu.h"

View File

@ -11,7 +11,10 @@
#define __DMA_HSU_H__ #define __DMA_HSU_H__
#include <linux/bits.h> #include <linux/bits.h>
#include <linux/spinlock.h> #include <linux/container_of.h>
#include <linux/io.h>
#include <linux/types.h>
#include <linux/dma/hsu.h> #include <linux/dma/hsu.h>
#include "../virt-dma.h" #include "../virt-dma.h"

View File

@ -10,6 +10,7 @@
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/pci.h> #include <linux/pci.h>

View File

@ -8,11 +8,13 @@
#ifndef _DMA_HSU_H #ifndef _DMA_HSU_H
#define _DMA_HSU_H #define _DMA_HSU_H
#include <linux/device.h> #include <linux/errno.h>
#include <linux/interrupt.h> #include <linux/kconfig.h>
#include <linux/types.h>
#include <linux/platform_data/dma-hsu.h> #include <linux/platform_data/dma-hsu.h>
struct device;
struct hsu_dma; struct hsu_dma;
/** /**

View File

@ -8,7 +8,7 @@
#ifndef _PLATFORM_DATA_DMA_HSU_H #ifndef _PLATFORM_DATA_DMA_HSU_H
#define _PLATFORM_DATA_DMA_HSU_H #define _PLATFORM_DATA_DMA_HSU_H
#include <linux/device.h> struct device;
struct hsu_dma_slave { struct hsu_dma_slave {
struct device *dma_dev; struct device *dma_dev;