mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 01:41:41 +00:00
Use device_set_node to make sure OF node gets assigned on block devices to be used as NVMEM providers. While block partitions were already working fine as NVMEM providers, bare block devices such as mmcblk0boot1 will not work without this change. Fixes: fc153aa8d9 ("kernel: import pending patches adding support for NVMEM on UBI and MMC") Signed-off-by: Daniel Golle <daniel@makrotopia.org>