kernel: remove uboot,env hack

Since everything got migrated to the layouts driver, this is no longer
needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20948
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Rosen Penev
2025-11-26 23:24:16 -08:00
committed by Hauke Mehrtens
parent 48c9e55094
commit f190a5e842
5 changed files with 4 additions and 52 deletions

View File

@@ -91,7 +91,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
#include "mtdcore.h"
@@ -1132,6 +1133,8 @@ int mtd_device_parse_register(struct mtd
@@ -1109,6 +1110,8 @@ int mtd_device_parse_register(struct mtd
register_reboot_notifier(&mtd->reboot_notifier);
}

View File

@@ -12,7 +12,7 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -803,7 +803,8 @@ int add_mtd_device(struct mtd_info *mtd)
@@ -780,7 +780,8 @@ int add_mtd_device(struct mtd_info *mtd)
mutex_unlock(&mtd_table_mutex);