summaryrefslogtreecommitdiff
path: root/namedev.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-02-24 20:13:25 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:36:14 -0700
commitf8a178a35b8dee2ee46a3de298345aa4faa8f41e (patch)
tree8c0f5f8ac85fc0ac0a6c33efab7c991c09bcdc10 /namedev.c
parent833aa0fab572536ebb680cc54bf95c50c3b36a0f (diff)
[PATCH] trivial rename of some variables
Diffstat (limited to 'namedev.c')
-rw-r--r--namedev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/namedev.c b/namedev.c
index a365574435..f0a5c34f79 100644
--- a/namedev.c
+++ b/namedev.c
@@ -152,7 +152,7 @@ static int find_free_number(struct udevice *udev, const char *name)
while (1) {
dbg("look for existing node '%s'", filename);
memset(&db_udev, 0x00, sizeof(struct udevice));
- if (udev_db_get_device_byname(&db_udev, filename) != 0) {
+ if (udev_db_get_device_by_name(&db_udev, filename) != 0) {
dbg("free num=%d", num);
return num;
}