From: Finn Thain Date: Tue, 1 May 2007 20:32:49 +0000 (+0200) Subject: m68k: pmu_queue_request() declaration conflict X-Git-Tag: v2.6.22-rc1~1067 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bff832cda7bd1a861fd43813c3037119e50e7d93;p=linux-2.6 m68k: pmu_queue_request() declaration conflict Fixes a "static qualifier follows non-static qualifier" error from gcc 4. Signed-off-by: Finn Thain Signed-off-by: Roman Zippel Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds --- diff --git a/drivers/macintosh/via-pmu68k.c b/drivers/macintosh/via-pmu68k.c index 356c7216a1..dfdf11c1ee 100644 --- a/drivers/macintosh/via-pmu68k.c +++ b/drivers/macintosh/via-pmu68k.c @@ -111,7 +111,6 @@ static int pmu_send_request(struct adb_request *req, int sync); static int pmu_autopoll(int devs); void pmu_poll(void); static int pmu_reset_bus(void); -static int pmu_queue_request(struct adb_request *req); static void pmu_start(void); static void send_byte(int x); @@ -475,7 +474,7 @@ pmu_request(struct adb_request *req, void (*done)(struct adb_request *), return pmu_queue_request(req); } -static int +int pmu_queue_request(struct adb_request *req) { unsigned long flags;