diff options
author | greg@kroah.com <greg@kroah.com> | 2004-02-16 18:19:48 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:32:27 -0700 |
commit | 7a4877bf6fea5f1d1d8390b7efd6b8a53003631a (patch) | |
tree | da83fa14c383b940058101c6650ad26cbdd42b97 /namedev.c | |
parent | 44a523e30d79efc5aca9a05073b32f5924191244 (diff) |
[PATCH] Fix bug where we did not use the "converted" kernel name if we had no rule.
This fixes the bug with names that have a ! in them and no rule to match.
Diffstat (limited to 'namedev.c')
-rw-r--r-- | namedev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -745,7 +745,7 @@ int namedev_name_device(struct sysfs_class_device *class_dev, struct udevice *ud } /* no rule was found so we use the kernel name */ - strfieldcpy(udev->name, class_dev->name); + strfieldcpy(udev->name, udev->kernel_name); goto done; found: |