diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/core/syscon-uclass.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/core/syscon-uclass.c b/drivers/core/syscon-uclass.c index a0666d0..e03f46a 100644 --- a/drivers/core/syscon-uclass.c +++ b/drivers/core/syscon-uclass.c @@ -38,6 +38,7 @@ int syscon_get_by_driver_data(ulong driver_data, struct udevice **devp) struct uclass *uc; int ret; + *devp = NULL; ret = uclass_get(UCLASS_SYSCON, &uc); if (ret) return ret; |