Loading drivers/macintosh/adb.c +7 −9 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ #include <linux/platform_device.h> #include <linux/mutex.h> #include <asm/uaccess.h> #include <linux/uaccess.h> #ifdef CONFIG_PPC #include <asm/prom.h> #include <asm/machdep.h> Loading Loading @@ -193,8 +193,7 @@ static int adb_scan_bus(void) break; noMovement = 0; } else { } else { /* * No devices left at address i; move the * one(s) we moved to `highFree' back to i. Loading Loading @@ -502,7 +501,7 @@ void adb_input(unsigned char *buf, int nb, int autopoll) { int i, id; static int dump_adb_input = 0; static int dump_adb_input; unsigned long flags; void (*handler)(unsigned char *, int, int); Loading Loading @@ -624,8 +623,7 @@ do_adb_query(struct adb_request *req) { int ret = -EINVAL; switch(req->data[1]) { switch(req->data[1]) { case ADB_QUERY_GETDEVINFO: if (req->nbytes < 3) break; Loading Loading
drivers/macintosh/adb.c +7 −9 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ #include <linux/platform_device.h> #include <linux/mutex.h> #include <asm/uaccess.h> #include <linux/uaccess.h> #ifdef CONFIG_PPC #include <asm/prom.h> #include <asm/machdep.h> Loading Loading @@ -193,8 +193,7 @@ static int adb_scan_bus(void) break; noMovement = 0; } else { } else { /* * No devices left at address i; move the * one(s) we moved to `highFree' back to i. Loading Loading @@ -502,7 +501,7 @@ void adb_input(unsigned char *buf, int nb, int autopoll) { int i, id; static int dump_adb_input = 0; static int dump_adb_input; unsigned long flags; void (*handler)(unsigned char *, int, int); Loading Loading @@ -624,8 +623,7 @@ do_adb_query(struct adb_request *req) { int ret = -EINVAL; switch(req->data[1]) { switch(req->data[1]) { case ADB_QUERY_GETDEVINFO: if (req->nbytes < 3) break; Loading