bcm27xx: update 6.1 patches to latest version
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-6.1 / 950-0825-char-broadcom-vc_mem-Fix-preprocessor-conditional.patch
1 From 282819aead0166af415b780241dc2def4caee7f4 Mon Sep 17 00:00:00 2001
2 From: Alexander Winkowski <dereference23@outlook.com>
3 Date: Mon, 3 Jul 2023 18:12:01 +0000
4 Subject: [PATCH] char: broadcom: vc_mem: Fix preprocessor conditional
5
6 Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
7 ---
8 drivers/char/broadcom/vc_mem.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/drivers/char/broadcom/vc_mem.c
12 +++ b/drivers/char/broadcom/vc_mem.c
13 @@ -353,7 +353,7 @@ vc_mem_exit(void)
14 pr_debug("%s: called\n", __func__);
15
16 if (vc_mem_inited) {
17 -#if CONFIG_DEBUG_FS
18 +#ifdef CONFIG_DEBUG_FS
19 vc_mem_debugfs_deinit();
20 #endif
21 device_destroy(vc_mem_class, vc_mem_devnum);