Browse Source

m68k: pmu_queue_request() declaration conflict

Fixes a "static qualifier follows non-static qualifier" error from gcc 4.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Finn Thain 18 years ago
parent
commit
bff832cda7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/macintosh/via-pmu68k.c

+ 1 - 2
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);
 static int pmu_autopoll(int devs);
 void pmu_poll(void);
 void pmu_poll(void);
 static int pmu_reset_bus(void);
 static int pmu_reset_bus(void);
-static int pmu_queue_request(struct adb_request *req);
 
 
 static void pmu_start(void);
 static void pmu_start(void);
 static void send_byte(int x);
 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);
 	return pmu_queue_request(req);
 }
 }
 
 
-static int 
+int
 pmu_queue_request(struct adb_request *req)
 pmu_queue_request(struct adb_request *req)
 {
 {
 	unsigned long flags;
 	unsigned long flags;