Loading drivers/scsi/ufs/ufs-qcom.c +4 −1 Original line number Diff line number Diff line Loading @@ -1251,12 +1251,15 @@ out: #define ANDROID_BOOT_DEV_MAX 30 static char android_boot_dev[ANDROID_BOOT_DEV_MAX]; static int get_android_boot_dev(char *str) #ifndef MODULE static int __init get_android_boot_dev(char *str) { strlcpy(android_boot_dev, str, ANDROID_BOOT_DEV_MAX); return 1; } __setup("androidboot.bootdevice=", get_android_boot_dev); #endif /** * ufs_qcom_init - bind phy with controller Loading Loading
drivers/scsi/ufs/ufs-qcom.c +4 −1 Original line number Diff line number Diff line Loading @@ -1251,12 +1251,15 @@ out: #define ANDROID_BOOT_DEV_MAX 30 static char android_boot_dev[ANDROID_BOOT_DEV_MAX]; static int get_android_boot_dev(char *str) #ifndef MODULE static int __init get_android_boot_dev(char *str) { strlcpy(android_boot_dev, str, ANDROID_BOOT_DEV_MAX); return 1; } __setup("androidboot.bootdevice=", get_android_boot_dev); #endif /** * ufs_qcom_init - bind phy with controller Loading