mtd: fix build with GCC 14
[openwrt/openwrt.git] / target / linux / generic / pending-5.15 / 500-fs_cdrom_dependencies.patch
1 From af7b91bcecce0eae24e90acd35d96ecee73e1407 Mon Sep 17 00:00:00 2001
2 From: OpenWrt community <openwrt-devel@lists.openwrt.org>
3 Date: Wed, 13 Jul 2022 12:21:15 +0200
4 Subject: [PATCH] fs: add cdrom dependency
5
6 ---
7 fs/hfs/Kconfig | 1 +
8 fs/hfsplus/Kconfig | 1 +
9 fs/isofs/Kconfig | 1 +
10 fs/udf/Kconfig | 1 +
11 4 files changed, 4 insertions(+)
12
13 --- a/fs/hfs/Kconfig
14 +++ b/fs/hfs/Kconfig
15 @@ -2,6 +2,7 @@
16 config HFS_FS
17 tristate "Apple Macintosh file system support"
18 depends on BLOCK
19 + select CDROM
20 select NLS
21 help
22 If you say Y here, you will be able to mount Macintosh-formatted
23 --- a/fs/hfsplus/Kconfig
24 +++ b/fs/hfsplus/Kconfig
25 @@ -2,6 +2,7 @@
26 config HFSPLUS_FS
27 tristate "Apple Extended HFS file system support"
28 depends on BLOCK
29 + select CDROM
30 select NLS
31 select NLS_UTF8
32 help
33 --- a/fs/isofs/Kconfig
34 +++ b/fs/isofs/Kconfig
35 @@ -1,6 +1,7 @@
36 # SPDX-License-Identifier: GPL-2.0-only
37 config ISO9660_FS
38 tristate "ISO 9660 CDROM file system support"
39 + select CDROM
40 help
41 This is the standard file system used on CD-ROMs. It was previously
42 known as "High Sierra File System" and is called "hsfs" on other
43 --- a/fs/udf/Kconfig
44 +++ b/fs/udf/Kconfig
45 @@ -1,6 +1,7 @@
46 # SPDX-License-Identifier: GPL-2.0-only
47 config UDF_FS
48 tristate "UDF file system support"
49 + select CDROM
50 select CRC_ITU_T
51 select NLS
52 help