From c16517d26de30c90dabce1e456615fd7fbdce07c Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 23 Feb 2020 13:20:11 +0100 Subject: kernel: copy kernel 4.19 code to 5.4 No changes were done to the patches while coping them. Currently they do not apply on top of kernel 5.4. Signed-off-by: Hauke Mehrtens --- ...90-nvmem-make-CONFIG_NVMEM-tristate-again.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 target/linux/generic/hack-5.4/290-nvmem-make-CONFIG_NVMEM-tristate-again.patch (limited to 'target/linux/generic/hack-5.4/290-nvmem-make-CONFIG_NVMEM-tristate-again.patch') diff --git a/target/linux/generic/hack-5.4/290-nvmem-make-CONFIG_NVMEM-tristate-again.patch b/target/linux/generic/hack-5.4/290-nvmem-make-CONFIG_NVMEM-tristate-again.patch new file mode 100644 index 0000000000..ad45dc9168 --- /dev/null +++ b/target/linux/generic/hack-5.4/290-nvmem-make-CONFIG_NVMEM-tristate-again.patch @@ -0,0 +1,33 @@ +From 2579d9b982c7232f9354bcca5262e26a84c38799 Mon Sep 17 00:00:00 2001 +From: Hauke Mehrtens +Date: Fri, 2 Nov 2018 17:40:32 +0100 +Subject: [PATCH] nvmem: make CONFIG_NVMEM tristate again + +Only build it in when OF_NET is selected and make it possible to build +it as module otherwise. + +Signed-off-by: Hauke Mehrtens +--- + drivers/nvmem/Kconfig | 2 +- + drivers/of/Kconfig | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +--- a/drivers/nvmem/Kconfig ++++ b/drivers/nvmem/Kconfig +@@ -1,5 +1,5 @@ + menuconfig NVMEM +- bool "NVMEM Support" ++ tristate "NVMEM Support" + help + Support for NVMEM(Non Volatile Memory) devices like EEPROM, EFUSES... + +--- a/drivers/of/Kconfig ++++ b/drivers/of/Kconfig +@@ -71,6 +71,7 @@ config OF_IRQ + + config OF_NET + depends on NETDEVICES ++ select NVMEM + def_bool y + + config OF_MDIO -- cgit v1.2.3