mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 02:44:41 +01:00
The added print statement from a recent fix causes the driver to fail
building when CONFIG_PM is disabled:
drivers/ufs/host/ufs-mediatek.c: In function 'ufs_mtk_resume':
drivers/ufs/host/ufs-mediatek.c:1890:40: error: 'struct dev_pm_info' has no member named 'request'
1890 | hba->dev->power.request,
It seems unlikely that the driver can work at all without CONFIG_PM, so
just add a dependency and remove the existing ifdef checks, rather than
adding another ifdef.
Fixes:
|
||
|---|---|---|
| .. | ||
| ufs.h | ||
| ufs_quirks.h | ||
| ufshcd.h | ||
| ufshci.h | ||
| unipro.h | ||