]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Amiga serial: static function
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 3 Nov 2002 07:55:16 +0000 (23:55 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Sun, 3 Nov 2002 07:55:16 +0000 (23:55 -0800)
Make local function rs_read_proc() static in Amiga serial port driver (from
2.4.x).

drivers/char/amiserial.c

index 5a666f9a27b46505dff080f9e4d062e44f1543ac..79ac0284783eec45db429b42cf0b8fbffd9b49c3 100644 (file)
@@ -2054,8 +2054,8 @@ static inline int line_info(char *buf, struct serial_state *state)
        return ret;
 }
 
-int rs_read_proc(char *page, char **start, off_t off, int count,
-                int *eof, void *data)
+static int rs_read_proc(char *page, char **start, off_t off, int count,
+                       int *eof, void *data)
 {
        int len = 0, l;
        off_t   begin = 0;