[PATCH] 16550 serial fix

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Mon Sep 09 2002 - 06:32:04 EST


Make rs_read_proc() static, since it's not used outside serial.c

--- 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;

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/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:16 EST