diff options
author | Armin Wolf <[email protected]> | 2023-12-07 22:07:23 +0100 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-12-08 10:36:02 -0800 |
commit | 307004e8b254ad28e150b63f299ab9caa4bc7c3e (patch) | |
tree | e90628292758120df0d08997bdba4a3812320fff /scripts/generate_rust_analyzer.py | |
parent | 35fe2ad259a3bfca15ab78c8ffb5278cb6149c89 (diff) |
hwmon: (corsair-psu) Fix probe when built-in
It seems that when the driver is built-in, the HID bus is
initialized after the driver is loaded, which whould cause
module_hid_driver() to fail.
Fix this by registering the driver after the HID bus using
late_initcall() in accordance with other hwmon HID drivers.
Signed-off-by: Armin Wolf <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[groeck: Dropped "compile tested" comment; the patch has been tested
but the tester did not provide a Tested-by: tag]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions