diff options
| author | Christoph Hellwig <hch@lst.de> | 2024-10-23 08:53:04 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-23 09:05:20 +0300 |
| commit | 44059790a5cb9258ae6137387e4c39b717fd2ced (patch) | |
| tree | be75043683dc04afc6404b689cc67211a8b535bc /include/linux | |
| parent | ec8c17e5ecb4a5a74069687ccb6d2cfe1851302e (diff) | |
| download | linux-44059790a5cb9258ae6137387e4c39b717fd2ced.tar.xz | |
kfifo: don't include dma-mapping.h in kfifo.h
Nothing in kfifo.h directly needs dma-mapping.h, only two macros
use DMA_MAPPING_ERROR when actually instantiated. Drop the
dma-mapping.h include to reduce include bloat.
Add an explicity <linux/io.h> include to drivers/mailbox/omap-mailbox.c
as that file uses __raw_readl and __raw_writel through a complicated
include chain involving <linux/dma-mapping.h>
Fixes: d52b761e4b1a ("kfifo: add kfifo_dma_out_prepare_mapped()")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20241023055317.313234-1-hch@lst.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/kfifo.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kfifo.h b/include/linux/kfifo.h index 564868bdce89..fd743d4c4b4b 100644 --- a/include/linux/kfifo.h +++ b/include/linux/kfifo.h @@ -37,7 +37,6 @@ */ #include <linux/array_size.h> -#include <linux/dma-mapping.h> #include <linux/spinlock.h> #include <linux/stddef.h> #include <linux/types.h> |
