From a298f5f285c4833507e95d0905049cbe716809c7 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Wed, 7 Oct 2020 15:39:23 +0200 Subject: [PATCH] 90kernel-modules: arm: add drivers/hwmon for arm/arm64 In the case of the s805x the drivers/hwmon directory contains the scpi_hwmon kernel module. On a running system, lsmod would output the following dependencies: arm_scpi 24576 2 clk_scpi,scpi_hwmon It means that if the clock driver is bundled in the initramfs it will bring arm_scpi. But if scpi_hwmon is missing the scpi will be incomplete and it can lead to crashes. When the hwmon is bundled, no crash occurs Signed-off-by: Nicolas Chauvet --- modules.d/90kernel-modules/module-setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh index 3ed749c7a..a45722596 100755 --- a/modules.d/90kernel-modules/module-setup.sh +++ b/modules.d/90kernel-modules/module-setup.sh @@ -69,6 +69,7 @@ installkernel() { "=drivers/dma" \ "=drivers/extcon" \ "=drivers/gpio" \ + "=drivers/hwmon" \ "=drivers/hwspinlock" \ "=drivers/i2c/busses" \ "=drivers/mfd" \ -- 2.47.3