From: Nicolas Chauvet Date: Wed, 7 Oct 2020 13:39:23 +0000 (+0200) Subject: 90kernel-modules: arm: add drivers/hwmon for arm/arm64 X-Git-Tag: 051~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a298f5f285c4833507e95d0905049cbe716809c7;p=thirdparty%2Fdracut.git 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 --- 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" \