summaryrefslogtreecommitdiff
path: root/udev_add.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_add.c')
-rw-r--r--udev_add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev_add.c b/udev_add.c
index bf5feb1b2d..8443f65e7c 100644
--- a/udev_add.c
+++ b/udev_add.c
@@ -42,7 +42,7 @@
#include "udev_sysfs.h"
#include "udev_version.h"
#include "logging.h"
-#include "namedev.h"
+#include "udev_rules.h"
#include "udev_db.h"
#include "udev_selinux.h"
@@ -276,7 +276,7 @@ int udev_add_device(struct udevice *udev, struct sysfs_class_device *class_dev)
}
}
- if (namedev_name_device(udev, class_dev) != 0)
+ if (udev_rules_get_name(udev, class_dev) != 0)
return 0;
dbg("adding name='%s'", udev->name);