ufs: qcom: Compilation error fix for allyesconfig kernel builds

This patch attempts to fix the unknown variable compile time error for
allyesconfig kernel builds by switching from dev_warn to pr_warn to
print the probe deferred log.

Change-Id: I4f392063430c10ca5ff66aac89ed260003fbe224
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
This commit is contained in:
Gokul krishna Krishnakumar 2022-12-22 15:55:15 -08:00
parent e2b3541f3b
commit 21bb570190

View File

@ -4276,7 +4276,7 @@ static int ufs_cpufreq_status(void)
policy = cpufreq_cpu_get(0);
if (!policy) {
dev_warn(dev, "cpufreq not probed yet, defer once\n");
pr_warn("cpufreq not probed yet, defer once\n");
return -EPROBE_DEFER;
}