]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90kernel-modules: arm: add drivers/hwmon for arm/arm64
authorNicolas Chauvet <kwizart@gmail.com>
Wed, 7 Oct 2020 13:39:23 +0000 (15:39 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Wed, 7 Oct 2020 14:04:08 +0000 (16:04 +0200)
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 <kwizart@gmail.com>
modules.d/90kernel-modules/module-setup.sh

index 3ed749c7a8a1de8beb590a43b054fef73c340d9d..a45722596cf450a47da0567490e2848767415541 100755 (executable)
@@ -69,6 +69,7 @@ installkernel() {
                 "=drivers/dma" \
                 "=drivers/extcon" \
                 "=drivers/gpio" \
+                "=drivers/hwmon" \
                 "=drivers/hwspinlock" \
                 "=drivers/i2c/busses" \
                 "=drivers/mfd" \