// SPDX-License-Identifier: GPL-2.0 #include <linux/proc_fs.h> #include "fb_internal.h" static struct proc_dir_entry *fb_proc_dir_entry; static void *fb_seq_start(struct seq_file *m, loff_t *pos) { … } static void fb_seq_stop(struct seq_file *m, void *v) { … } static void *fb_seq_next(struct seq_file *m, void *v, loff_t *pos) { … } static int fb_seq_show(struct seq_file *m, void *v) { … } static const struct seq_operations __maybe_unused fb_proc_seq_ops = …; int fb_init_procfs(void) { … } void fb_cleanup_procfs(void) { … }