summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/soc/qcom
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/soc/qcom')
-rw-r--r--kernel/drivers/soc/qcom/spm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/soc/qcom/spm.c b/kernel/drivers/soc/qcom/spm.c
index b04b05a09..65bce1eec 100644
--- a/kernel/drivers/soc/qcom/spm.c
+++ b/kernel/drivers/soc/qcom/spm.c
@@ -288,7 +288,7 @@ static struct spm_driver_data *spm_get_drv(struct platform_device *pdev,
struct spm_driver_data *drv = NULL;
struct device_node *cpu_node, *saw_node;
int cpu;
- bool found;
+ bool found = 0;
for_each_possible_cpu(cpu) {
cpu_node = of_cpu_device_node_get(cpu);