linux/include/ufs
Arnd Bergmann bbb8d98fb4 scsi: ufs: host: mediatek: Require CONFIG_PM
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: 15ef3f5aa8 ("scsi: ufs: host: mediatek: Enhance recovery on resume failure")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20260202095052.1232703-1-arnd@kernel.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2026-02-03 22:28:44 -05:00
..
ufs.h scsi: ufs: core: Improve the documentation of UFS data frames 2026-01-11 22:04:10 -05:00
ufs_quirks.h scsi: ufs: core: Remove UFS_DEVICE_QUIRK_DELAY_AFTER_LPM quirk 2025-10-21 21:22:17 -04:00
ufshcd.h scsi: ufs: host: mediatek: Require CONFIG_PM 2026-02-03 22:28:44 -05:00
ufshci.h scsi: ufs: core: mcq: Use ufshcd_rmwl() instead of open-coding it 2025-12-16 21:13:27 -05:00
unipro.h Merge patch series "ufs: Add support for AMD Versal Gen2 UFS" 2025-10-29 23:03:15 -04:00