Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ced60833 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs-qcom: fix compilation warning if compiled as a module"

parents f421516e 87534996
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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