diff options
author | 2024-10-07 18:03:25 +0300 | |
---|---|---|
committer | 2024-10-14 23:27:57 +0530 | |
commit | 662f045332addc961940e48eb920caa954abbf09 (patch) | |
tree | 2d436cffc2221a0b0c0f797fa77312f675324f54 /include | |
parent | dmaengine: acpi: Simplify devm_acpi_dma_controller_register() (diff) | |
download | wireguard-linux-662f045332addc961940e48eb920caa954abbf09.tar.xz wireguard-linux-662f045332addc961940e48eb920caa954abbf09.zip |
dmaengine: acpi: Clean up headers
There is a few things done:
- include only the headers we are direct user of
- when pointer is in use, provide a forward declaration
- add missing headers
- sort alphabetically
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241007150436.2183575-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/acpi_dma.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/acpi_dma.h b/include/linux/acpi_dma.h index 3ef1ec7a04cb..e748b2877602 100644 --- a/include/linux/acpi_dma.h +++ b/include/linux/acpi_dma.h @@ -11,10 +11,11 @@ #ifndef __LINUX_ACPI_DMA_H #define __LINUX_ACPI_DMA_H -#include <linux/list.h> -#include <linux/device.h> #include <linux/err.h> #include <linux/dmaengine.h> +#include <linux/types.h> + +struct device; /** * struct acpi_dma_spec - slave device DMA resources |