Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202511130238.LlA0MKxW-lkp@intel.com/
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/1763011091-243727-1-git-send-email-shawn.lin@rock-chips.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Shawn Lin and committed by
Martin K. Petersen
cda5f23e b0ee72db

+1
+1
drivers/ufs/host/ufs-rockchip.c
··· 7 7 8 8 #include <linux/clk.h> 9 9 #include <linux/gpio.h> 10 + #include <linux/gpio/consumer.h> 10 11 #include <linux/mfd/syscon.h> 11 12 #include <linux/of.h> 12 13 #include <linux/platform_device.h>