kernel: Make CONFIG_NVMEM tristate
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 2 Nov 2018 23:32:39 +0000 (00:32 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 15 Dec 2018 13:28:50 +0000 (14:28 +0100)
commitd234431c0cc3f8d8d9a562b5ebf29bd41f77401d
treee4cabdc74b43ed11b74c9de4d7d8add654aed09d
parent4c9df2aa0820e9d23f6d95e9b4c76558841bb7b8
kernel: Make CONFIG_NVMEM tristate

CONFIG_OF_NET depends on CONFIG_NVMEM in kernel 4.19. To fix some build
problems in mainline Linux kernel CONFIG_NVMEM was changed from tristate
to bool in commit 2a37ce25d9 ("nvmem: disallow modular CONFIG_NVMEM").

This patch in OpenWrt revert the upstream commit and changes
CONFIG_NVMEM back to tristate we just have to make sure to build this in
for all targets which select CONFIG_OF_NET.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/hack-4.19/290-nvmem-make-CONFIG_NVMEM-tristate-again.patch [new file with mode: 0644]