diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-03-17 10:08:25 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-03-17 10:08:25 +0100 |
commit | 31de3a2ba18ffa011f5054016ccc4a500cbe0cc3 (patch) | |
tree | f945058d7aad9cbe45fba6e496c73d948255e729 /udev_rules.c | |
parent | d7fdcd61927e9439ad7079bb0967e0b6edac7646 (diff) |
read list of devices from index, make index private to database
Diffstat (limited to 'udev_rules.c')
-rw-r--r-- | udev_rules.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev_rules.c b/udev_rules.c index c0f4cd2077..ea02b8e945 100644 --- a/udev_rules.c +++ b/udev_rules.c @@ -236,7 +236,7 @@ static int import_parent_into_env(struct udevice *udev, const char *filter) struct name_entry *name_loop; dbg("found parent '%s', get the node name", dev_parent->devpath); - udev_parent = udev_device_init(); + udev_parent = udev_device_init(NULL); if (udev_parent == NULL) return -1; /* import the udev_db of the parent */ @@ -518,7 +518,7 @@ found: struct udevice *udev_parent; dbg("found parent '%s', get the node name", dev_parent->devpath); - udev_parent = udev_device_init(); + udev_parent = udev_device_init(NULL); if (udev_parent != NULL) { /* lookup the name in the udev_db with the DEVPATH of the parent */ if (udev_db_get_device(udev_parent, dev_parent->devpath) == 0) { |