]> git.sur5r.net Git - u-boot/blobdiff - drivers/remoteproc/rproc-uclass.c
sandbox, x86: select DM_KEYBOARD instead of default y entry
[u-boot] / drivers / remoteproc / rproc-uclass.c
index a421e12e5d16f4d2fd97382a3a059fcd9c922507..200cf61bc948b71c9331fc2b07cf45c12f37046a 100644 (file)
@@ -66,7 +66,7 @@ static int _rproc_name_is_unique(struct udevice *dev,
        const char *check_name = data;
 
        /* devices not yet populated with data - so skip them */
-       if (!uc_pdata->name && check_name)
+       if (!uc_pdata->name || !check_name)
                return 0;
 
        /* Return 0 to search further if we dont match */