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

Commit 87534996 authored by Yaniv Gardi's avatar Yaniv Gardi
Browse files

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



This change fixes a compilation warning that happens if SCSI_UFS_QCOM
is compiled as a module.

Change-Id: I5c0272006f805f237e8acb922ddb4b3c15ff6b21
Signed-off-by: default avatarYaniv Gardi <ygardi@codeaurora.org>
parent fd854d74
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