public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Nicks <allinux@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 2.6.12] compilation errors in drivers/serial/mpsc.c
Date: Mon, 20 Jun 2005 08:23:38 -0700	[thread overview]
Message-ID: <cb57165a0506200823313d0bc@mail.gmail.com> (raw)
In-Reply-To: <cb57165a05061922331cce2a12@mail.gmail.com>

The following patch fix gcc 4 compilation errors in drivers/serial/mpsc.c

Signed-off-by: Lee Nicks <allinux@gmail.com>

Index: linux-2.6.12/drivers/serial/mpsc.c
===================================================================
--- linux-2.6.12-orig/drivers/serial/mpsc.c     2005-06-17
12:48:29.000000000 -0700
+++ linux-2.6.12/drivers/serial/mpsc.c  2005-06-19 22:08:04.000000000 -0700
@@ -67,7 +67,11 @@

 static struct mpsc_port_info mpsc_ports[MPSC_NUM_CTLRS];
 static struct mpsc_shared_regs mpsc_shared_regs;
+static struct uart_driver mpsc_reg;

+static void mpsc_start_rx(struct mpsc_port_info *pi);
+static void mpsc_free_ring_mem(struct mpsc_port_info *pi);
+static void mpsc_release_port(struct uart_port *port);
 /*
  ******************************************************************************
  *
@@ -546,7 +550,6 @@
 mpsc_alloc_ring_mem(struct mpsc_port_info *pi)
 {
        int rc = 0;
-       static void mpsc_free_ring_mem(struct mpsc_port_info *pi);

        pr_debug("mpsc_alloc_ring_mem[%d]: Allocating ring mem\n",
                pi->port.line);
@@ -745,7 +748,6 @@
        int     rc = 0;
        u8      *bp;
        char    flag = TTY_NORMAL;
-       static void mpsc_start_rx(struct mpsc_port_info *pi);

        pr_debug("mpsc_rx_intr[%d]: Handling Rx intr\n", pi->port.line);

@@ -1178,7 +1180,6 @@
 mpsc_shutdown(struct uart_port *port)
 {
        struct mpsc_port_info *pi = (struct mpsc_port_info *)port;
-       static void mpsc_release_port(struct uart_port *port);

        pr_debug("mpsc_shutdown[%d]: Shutting down MPSC\n", port->line);

@@ -1448,7 +1449,6 @@
        return uart_set_options(&pi->port, co, baud, parity, bits, flow);
 }

-extern struct uart_driver mpsc_reg;
 static struct console mpsc_console = {
        .name   = MPSC_DEV_NAME,
        .write  = mpsc_console_write,

      reply	other threads:[~2005-06-20 15:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-20  5:33 [PATCH 2.6.12] compilation errors in drivers/serial/mpsc.c Lee Nicks
2005-06-20 15:23 ` Lee Nicks [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cb57165a0506200823313d0bc@mail.gmail.com \
    --to=allinux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox