Commit:     68db2bc98cc1594a1cc487755aff4340fd4f1611
Parent:     d78b03683a6f96645d265abdd5c556547dc76d70
Author:     Tony Jones <[EMAIL PROTECTED]>
AuthorDate: Tue Sep 25 02:03:03 2007 +0200
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Thu Jan 24 20:40:05 2008 -0800

    adb: Convert from class_device to device
    struct class_device is going away, this converts the code to use struct
    device instead.
    Signed-off-by: Tony Jones <[EMAIL PROTECTED]>
    Cc: Joshua Thompson <[EMAIL PROTECTED]>
    Cc: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
    Cc: Kay Sievers <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 drivers/macintosh/adb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c
index 5c742a5..b7adde4 100644
--- a/drivers/macintosh/adb.c
+++ b/drivers/macintosh/adb.c
@@ -875,5 +875,5 @@ adbdev_init(void)
        adb_dev_class = class_create(THIS_MODULE, "adb");
        if (IS_ERR(adb_dev_class))
-       class_device_create(adb_dev_class, NULL, MKDEV(ADB_MAJOR, 0), NULL, 
+       device_create(adb_dev_class, NULL, MKDEV(ADB_MAJOR, 0), "adb");
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