summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/ubifs.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-10-01 08:54:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-10-02 05:47:18 +0200
commitcd2891b2949474aaf0b549ed5d697ef2143df9db (patch)
tree21d3b59dc8db14f0ac9be8e5a947e8a4fabd3629 /fs/ubifs/ubifs.c
parenta6b630f139416a05b158b6368cb9ee99738b20f4 (diff)
downloadbarebox-cd2891b2949474aaf0b549ed5d697ef2143df9db.tar.gz
barebox-cd2891b2949474aaf0b549ed5d697ef2143df9db.tar.xz
magicvar: Replace BAREBOX_MAGICVAR_NAMED with BAREBOX_MAGICVAR
BAREBOX_MAGICVAR now generates a unique identifier automatically, so we can convert users of BAREBOX_MAGICVAR_NAMED to the simpler BAREBOX_MAGICVAR macro. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/ubifs/ubifs.c')
-rw-r--r--fs/ubifs/ubifs.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c
index fd35619246..eda62497e7 100644
--- a/fs/ubifs/ubifs.c
+++ b/fs/ubifs/ubifs.c
@@ -517,8 +517,7 @@ static int ubifs_init(void)
coredevice_initcall(ubifs_init);
-BAREBOX_MAGICVAR_NAMED(global_ubifs_allow_encrypted, global.ubifs.allow_encrypted,
- "If true, allow to mount UBIFS with encrypted files");
-BAREBOX_MAGICVAR_NAMED(global_ubifs_allow_authenticated_unauthenticated,
- global.ubifs.allow_authenticated_unauthenticated,
- "If true, allow to mount authenticated UBIFS images without doing authentication");
+BAREBOX_MAGICVAR(global.ubifs.allow_encrypted,
+ "If true, allow to mount UBIFS with encrypted files");
+BAREBOX_MAGICVAR(global.ubifs.allow_authenticated_unauthenticated,
+ "If true, allow to mount authenticated UBIFS images without doing authentication");