Skip to contentSkip to conversation

make pmac compile again

PATCH New Christoph Hellwig 1 participant 1 message May 18, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make pmac compile again

Two little patches (already in the linuxppc BK tree) to get BK current compile again on pmac.

drivers/ide/ppc/pmac.c +1 -1
@@ -721,7 +721,7 @@
 		}
 	}
 
-	return NODEV;
+	return 0;
 }
 
 void __init
drivers/macintosh/adbhid.c +2 -2
@@ -84,7 +84,7 @@
 
 static void adbhid_probe(void);
 
-static void adbhid_input_keycode(int, int, int);
+static void adbhid_input_keycode(int, int, int, struct pt_regs *);
 static void leds_done(struct adb_request *);
 
 static void init_trackpad(int id);
@@ -140,7 +140,7 @@
 }
 
 static void
-adbhid_input_keycode(int id, int keycode, int repeat, pt_regs *regs)
+adbhid_input_keycode(int id, int keycode, int repeat, struct pt_regs *regs)
 {
 	int up_flag;