mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 06:46:35 +01:00
fbmem: Mark proc_fb_seq_ops as __maybe_unused
With CONFIG_PROC_FS=n and -Werror, 0-day reports: drivers/video/fbdev/core/fbmem.c:736:36: error: 'proc_fb_seq_ops' defined but not used Mark it as __maybe_unused. Reported-by: kernel test robot <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
This commit is contained in:
1 parent
a712b307cf
commit
b9d79e4ca4
1 file changed
+1
-1
@@ -733,7 +733,7 @@ static int fb_seq_show(struct seq_file *m, void *v)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const struct seq_operations proc_fb_seq_ops = {
|
||||
static const struct __maybe_unused seq_operations proc_fb_seq_ops = {
|
||||
.start = fb_seq_start,
|
||||
.next = fb_seq_next,
|
||||
.stop = fb_seq_stop,
|
||||
|
||||
Reference in new issue
Block a user