aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/adb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/macintosh/adb.c')
-rw-r--r--drivers/macintosh/adb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c
index 259fd8973ce9..360f93f6fcdb 100644
--- a/drivers/macintosh/adb.c
+++ b/drivers/macintosh/adb.c
@@ -16,7 +16,6 @@
16 * - move bus probe to a kernel thread 16 * - move bus probe to a kernel thread
17 */ 17 */
18 18
19#include <linux/config.h>
20#include <linux/types.h> 19#include <linux/types.h>
21#include <linux/errno.h> 20#include <linux/errno.h>
22#include <linux/kernel.h> 21#include <linux/kernel.h>
@@ -36,7 +35,6 @@
36#include <linux/spinlock.h> 35#include <linux/spinlock.h>
37#include <linux/completion.h> 36#include <linux/completion.h>
38#include <linux/device.h> 37#include <linux/device.h>
39#include <linux/devfs_fs_kernel.h>
40 38
41#include <asm/uaccess.h> 39#include <asm/uaccess.h>
42#include <asm/semaphore.h> 40#include <asm/semaphore.h>
@@ -904,8 +902,6 @@ adbdev_init(void)
904 return; 902 return;
905 } 903 }
906 904
907 devfs_mk_cdev(MKDEV(ADB_MAJOR, 0), S_IFCHR | S_IRUSR | S_IWUSR, "adb");
908
909 adb_dev_class = class_create(THIS_MODULE, "adb"); 905 adb_dev_class = class_create(THIS_MODULE, "adb");
910 if (IS_ERR(adb_dev_class)) 906 if (IS_ERR(adb_dev_class))
911 return; 907 return;