16550 serial fix

Message ID 200209091132.g89BW4R25876@vervain.sonytel.be
State New, archived
Headers show
Series
  • 16550 serial fix
Related show

Commit Message

Geert Uytterhoeven Sept. 9, 2002, 11:32 a.m. UTC
Make rs_read_proc() static, since it's not used outside serial.c


Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
-
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/

Patch

--- linux-2.4.20-pre5/drivers/char/serial.c	Thu Aug 29 08:23:40 2002
+++ linux-m68k-2.4.20-pre5/drivers/char/serial.c	Tue Aug 13 09:16:43 2002
@@ -3326,8 +3326,8 @@ 
 	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 i, len = 0, l;
 	off_t	begin = 0;