aboutsummaryrefslogtreecommitdiff
path: root/drivers/memory/pl353-smc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/memory/pl353-smc.c')
-rw-r--r--drivers/memory/pl353-smc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/memory/pl353-smc.c b/drivers/memory/pl353-smc.c
index 925d856663ac..f84b98278745 100644
--- a/drivers/memory/pl353-smc.c
+++ b/drivers/memory/pl353-smc.c
@@ -116,6 +116,7 @@ static int pl353_smc_probe(struct amba_device *adev, const struct amba_id *id)
break;
}
if (!match) {
+ err = -ENODEV;
dev_err(&adev->dev, "no matching children\n");
goto disable_mem_clk;
}