diff options
Diffstat (limited to 'drivers/macintosh/adb.c')
-rw-r--r-- | drivers/macintosh/adb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c index cae52485208a..23741cec45e3 100644 --- a/drivers/macintosh/adb.c +++ b/drivers/macintosh/adb.c | |||
@@ -862,8 +862,7 @@ adbdev_init(void) | |||
862 | adb_dev_class = class_create(THIS_MODULE, "adb"); | 862 | adb_dev_class = class_create(THIS_MODULE, "adb"); |
863 | if (IS_ERR(adb_dev_class)) | 863 | if (IS_ERR(adb_dev_class)) |
864 | return; | 864 | return; |
865 | device_create_drvdata(adb_dev_class, NULL, MKDEV(ADB_MAJOR, 0), NULL, | 865 | device_create(adb_dev_class, NULL, MKDEV(ADB_MAJOR, 0), NULL, "adb"); |
866 | "adb"); | ||
867 | 866 | ||
868 | platform_device_register(&adb_pfdev); | 867 | platform_device_register(&adb_pfdev); |
869 | platform_driver_probe(&adb_pfdrv, adb_dummy_probe); | 868 | platform_driver_probe(&adb_pfdrv, adb_dummy_probe); |