Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andy Shevchenko and committed by
Vinod Koul
9c060026 2c40c787

+18 -4
+8
drivers/dma/hsu/hsu.c
··· 16 16 * port 3, and so on. 17 17 */ 18 18 19 + #include <linux/bits.h> 19 20 #include <linux/delay.h> 21 + #include <linux/device.h> 20 22 #include <linux/dmaengine.h> 21 23 #include <linux/dma-mapping.h> 22 24 #include <linux/init.h> 25 + #include <linux/interrupt.h> 26 + #include <linux/list.h> 23 27 #include <linux/module.h> 28 + #include <linux/percpu-defs.h> 29 + #include <linux/scatterlist.h> 24 30 #include <linux/slab.h> 31 + #include <linux/string.h> 32 + #include <linux/spinlock.h> 25 33 26 34 #include "hsu.h" 27 35
+4 -1
drivers/dma/hsu/hsu.h
··· 11 11 #define __DMA_HSU_H__ 12 12 13 13 #include <linux/bits.h> 14 - #include <linux/spinlock.h> 14 + #include <linux/container_of.h> 15 + #include <linux/io.h> 16 + #include <linux/types.h> 17 + 15 18 #include <linux/dma/hsu.h> 16 19 17 20 #include "../virt-dma.h"
+1
drivers/dma/hsu/pci.c
··· 10 10 11 11 #include <linux/bitops.h> 12 12 #include <linux/device.h> 13 + #include <linux/interrupt.h> 13 14 #include <linux/module.h> 14 15 #include <linux/pci.h> 15 16
+4 -2
include/linux/dma/hsu.h
··· 8 8 #ifndef _DMA_HSU_H 9 9 #define _DMA_HSU_H 10 10 11 - #include <linux/device.h> 12 - #include <linux/interrupt.h> 11 + #include <linux/errno.h> 12 + #include <linux/kconfig.h> 13 + #include <linux/types.h> 13 14 14 15 #include <linux/platform_data/dma-hsu.h> 15 16 17 + struct device; 16 18 struct hsu_dma; 17 19 18 20 /**
+1 -1
include/linux/platform_data/dma-hsu.h
··· 8 8 #ifndef _PLATFORM_DATA_DMA_HSU_H 9 9 #define _PLATFORM_DATA_DMA_HSU_H 10 10 11 - #include <linux/device.h> 11 + struct device; 12 12 13 13 struct hsu_dma_slave { 14 14 struct device *dma_dev;