diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2024-10-09 07:18:25 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-10-29 13:01:05 +0100 |
commit | 3c9670df7f7e871f0d2c2208d2ce79f6cfbca0f6 (patch) | |
tree | 372cfa5089c58dcde8f45b0341099ed7a0383f43 /arch/powerpc/include | |
parent | powerpc/64: Drop IPI_PRIORITY from asm-offsets (diff) | |
download | linux-3c9670df7f7e871f0d2c2208d2ce79f6cfbca0f6.tar.xz linux-3c9670df7f7e871f0d2c2208d2ce79f6cfbca0f6.zip |
powerpc/machdep: Drop include of seq_file.h
Drop the include of seq_file.h in machdep.h, replace it with a forward
declaration of struct seq_file, which is all that's required.
Add direct includes of seq_file.h to some files that were getting
seq_file.h via machdep.h.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20241009051826.132805-1-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/machdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index 1862f94335ee..3326730cd300 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h @@ -4,7 +4,6 @@ #ifdef __KERNEL__ #include <linux/compiler.h> -#include <linux/seq_file.h> #include <linux/init.h> #include <linux/dma-mapping.h> #include <linux/export.h> @@ -18,6 +17,7 @@ struct file; struct pci_controller; struct kimage; struct pci_host_bridge; +struct seq_file; struct machdep_calls { const char *name; |