[PATCH] make pmac compile again

Christoph Hellwig (hch@lst.de)
Sun, 18 May 2003 22:11:25 +0200


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

--- 1.12/drivers/ide/ppc/pmac.c Mon May 12 02:09:46 2003
+++ edited/drivers/ide/ppc/pmac.c Sat May 17 15:31:07 2003
@@ -721,7 +721,7 @@
}
}

- return NODEV;
+ return 0;
}

void __init
--- 1.13/drivers/macintosh/adbhid.c Wed Feb 12 10:41:01 2003
+++ edited/drivers/macintosh/adbhid.c Sat May 17 21:30:20 2003
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/