summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-10-07 22:26:02 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:04 -0700
commitda767d0739c86a04a0c0326cebff6c08ffe1228c (patch)
tree99ee1fced8a21977bc22a3fd37a31eaa430d2562
parentf35fb62819d017880d6008b65179a3528eaba623 (diff)
[PATCH] Revert previous dev_d.c change, it's not what is causing HAL problems.
Cset exclude: greg@kroah.com|ChangeSet|20041007204001|14326
-rw-r--r--dev_d.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dev_d.c b/dev_d.c
index 050df7bbec..eaf9b1dc12 100644
--- a/dev_d.c
+++ b/dev_d.c
@@ -96,9 +96,8 @@ void dev_d_send(struct udevice *dev, const char *subsystem, const char *devpath)
strfieldcat(env_devname, dev->name);
} else if (dev->type == 'n') {
strfieldcpy(env_devname, dev->name);
+ setenv("DEVPATH", devpath, 1);
}
-
- setenv("DEVPATH", devpath, 1);
setenv("DEVNAME", env_devname, 1);
dbg("DEVNAME='%s'", env_devname);