diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2026-08-11 14:51:44 -0400 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2026-08-25 15:12:26 -0400 |
| commit | 372c1254a10712f04cc47fa96b6627b58f091eb6 (patch) | |
| tree | 681099a0fc1f2a0edd82baf4d0070732bf64a163 /drivers/usb | |
| parent | 5046db841c50ae0945d7f3e9f6e0815491a1f189 (diff) | |
| download | linux-next-372c1254a10712f04cc47fa96b6627b58f091eb6.tar.gz linux-next-372c1254a10712f04cc47fa96b6627b58f091eb6.zip | |
headers: Remove swap.h from suspend.h
Nothing in suspend.h needs swap.h. However, many files indirectly
depend on some of swap.h's dependencies, so this is a large
cross-subsystem patch. Stats:
42 are missing includes of interrupt.h (the question of why swap.h
brings in interrupt.h remains unanswered).
10 missing includes of seq_file.h
5 missing includes of swap.h (obviously all files could have just added
swap.h, but I preferred to bring in a more minimal inclusion set)
3 missing includes of highmem.h
2 missing includes of device.h
2 missing includes of string_choices.h
1 missing include of cacheflush.h
1 missing include of dma-direction.h
1 missing include of kthread.h
1 missing include of pagemap.h
1 missing include of string_helpers.h
1 missing include of writeback.h
I tried to follow whatever conventions appeared to be in use for the
various subsystems I touched; for example I added string_choices.h to
drm_print.h instead of individually to each driver which used the
functions declared there.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'drivers/usb')
| -rw-r--r-- | drivers/usb/core/hcd.c | 1 | ||||
| -rw-r--r-- | drivers/usb/typec/mux/it5205.c | 1 | ||||
| -rw-r--r-- | drivers/usb/typec/wusb3801.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 8e8a5f59b319..a865a15ea386 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c @@ -18,6 +18,7 @@ #include <linux/completion.h> #include <linux/utsname.h> #include <linux/mm.h> +#include <linux/highmem.h> #include <asm/io.h> #include <linux/device.h> #include <linux/dma-mapping.h> diff --git a/drivers/usb/typec/mux/it5205.c b/drivers/usb/typec/mux/it5205.c index 5e1a120b2e3b..146f0cc5bf4e 100644 --- a/drivers/usb/typec/mux/it5205.c +++ b/drivers/usb/typec/mux/it5205.c @@ -10,6 +10,7 @@ #include <linux/delay.h> #include <linux/i2c.h> +#include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/of_platform.h> diff --git a/drivers/usb/typec/wusb3801.c b/drivers/usb/typec/wusb3801.c index 6062875fb04a..3ca66138f7be 100644 --- a/drivers/usb/typec/wusb3801.c +++ b/drivers/usb/typec/wusb3801.c @@ -6,6 +6,7 @@ */ #include <linux/i2c.h> +#include <linux/interrupt.h> #include <linux/module.h> #include <linux/regmap.h> #include <linux/regulator/consumer.h> |
