diff options
| author | Paul Walmsley <pjw@kernel.org> | 2025-10-14 17:25:26 -0600 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2025-10-17 22:10:01 -0600 |
| commit | 492c513ec6de1ce51b5f033bd6c708e4b8e46ae4 (patch) | |
| tree | 8ebebbb04523eddd672d42b81acd3d78657c9bab /arch | |
| parent | d2721bb165b3ee00dd23525885381af07fec852a (diff) | |
| download | linux-492c513ec6de1ce51b5f033bd6c708e4b8e46ae4.tar.gz | |
riscv: add a forward declaration for cpuinfo_op
Add a forward declaration for cpuinfo_op to resolve a sparse warning.
Link: https://lore.kernel.org/r/b831f349-5d0c-f7ac-8362-acb20bc6221a@kernel.org
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/riscv/include/asm/cpufeature.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/cpufeature.h b/arch/riscv/include/asm/cpufeature.h index fbd0e4306c9347..62837fa981e8ea 100644 --- a/arch/riscv/include/asm/cpufeature.h +++ b/arch/riscv/include/asm/cpufeature.h @@ -31,6 +31,8 @@ struct riscv_isainfo { DECLARE_PER_CPU(struct riscv_cpuinfo, riscv_cpuinfo); +extern const struct seq_operations cpuinfo_op; + /* Per-cpu ISA extensions. */ extern struct riscv_isainfo hart_isa[NR_CPUS]; |
