summaryrefslogtreecommitdiff
path: root/udev_add.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_add.c')
-rw-r--r--udev_add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_add.c b/udev_add.c
index acd678ffba..d4cccfc085 100644
--- a/udev_add.c
+++ b/udev_add.c
@@ -292,7 +292,7 @@ int udev_add_device(struct udevice *udev, struct sysfs_class_device *class_dev)
}
if (namedev_name_device(udev, class_dev) != 0)
- goto exit;
+ return 0;
dbg("adding name='%s'", udev->name);