From: Shawn Lin Date: Thu, 13 Nov 2025 05:18:11 +0000 (+0800) Subject: scsi: ufs: rockchip: Fix compile error without CONFIG_GPIOLIB X-Git-Tag: v6.19-rc1~95^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cda5f23eed84cdca374d60734bf0190138788608;p=thirdparty%2Flinux.git scsi: ufs: rockchip: Fix compile error without CONFIG_GPIOLIB drivers/ufs/host/ufs-rockchip.c:168:19: error: implicit declaration of function 'devm_gpiod_get'; did you mean 'em_pd_get'? [-Werror=implicit-function-declaration] drivers/ufs/host/ufs-rockchip.c:214:2: error: implicit declaration of function 'gpiod_set_value_cansleep'; did you mean 'gpio_set_value_cansleep'? [-Werror=implicit-function-declaration] Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202511130238.LlA0MKxW-lkp@intel.com/ Signed-off-by: Shawn Lin Reviewed-by: Bart Van Assche Link: https://patch.msgid.link/1763011091-243727-1-git-send-email-shawn.lin@rock-chips.com Signed-off-by: Martin K. Petersen --- diff --git a/drivers/ufs/host/ufs-rockchip.c b/drivers/ufs/host/ufs-rockchip.c index 8cecb28cdce41..7fff34513a606 100644 --- a/drivers/ufs/host/ufs-rockchip.c +++ b/drivers/ufs/host/ufs-rockchip.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include