Skip to content

Commit 2ebe161

Browse files
athierry1martinkpetersen
authored andcommitted
scsi: ufs: core: Add soft dependency on governor_simpleondemand
The ufshcd driver uses simpleondemand governor for devfreq. Add it to the list of ufshcd softdeps to allow userspace initramfs tools like dracut to automatically pull the governor module into the initramfs together with UFS drivers. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Adrien Thierry <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 06d1a90 commit 2ebe161

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/ufs/core/ufshcd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10512,4 +10512,5 @@ module_exit(ufshcd_core_exit);
1051210512
MODULE_AUTHOR("Santosh Yaragnavi <[email protected]>");
1051310513
MODULE_AUTHOR("Vinayak Holikatti <[email protected]>");
1051410514
MODULE_DESCRIPTION("Generic UFS host controller driver Core");
10515+
MODULE_SOFTDEP("pre: governor_simpleondemand");
1051510516
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)