summaryrefslogtreecommitdiff
path: root/udev/udev_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udev_node.c')
-rw-r--r--udev/udev_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev_node.c b/udev/udev_node.c
index 78b6747043..33183c8d2a 100644
--- a/udev/udev_node.c
+++ b/udev/udev_node.c
@@ -234,7 +234,7 @@ static int update_link(struct udevice *udev, const char *name)
}
/* another device, read priority from database */
- udev_db = udev_device_init(NULL);
+ udev_db = udev_device_init();
if (udev_db == NULL)
continue;
if (udev_db_get_device(udev_db, device->name) == 0) {