Commit:     27907689eedd799a6a0c1a2f18a3563c6e9e9767
Parent:     a2765e81d8a58f66e21176ca2a8fd6012b187994
Author:     Cornelia Huck <[EMAIL PROTECTED]>
AuthorDate: Wed Jul 25 09:58:08 2007 +0200
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Mon Jul 30 14:25:12 2007 -0700

    driver core: revert "device" link creation check
    driver core: revert "device" link creation check
    Commit 2ee97caf0a6602f749ddbfdb1449e383e1212707 introduced an extra
    check on when to create the "device" symlink. Unfortunately, this
    breaks input, so let's revert to the old behaviour.
    Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]>
    Acked-by: Kay Sievers <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 drivers/base/core.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/base/core.c b/drivers/base/core.c
index b9bb399..e6738bc 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -678,8 +678,7 @@ static int device_add_class_symlinks(struct device *dev)
                if (error)
                        goto out_subsys;
-       /* only bus-device parents get a "device"-link */
-       if (dev->parent && dev->parent->bus) {
+       if (dev->parent) {
                error = sysfs_create_link(&dev->kobj, &dev->parent->kobj,
                if (error)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to