mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@engr.sgi.com>
To: Adrian Bunk <bunk@stusta.de>
Cc: akpm@osdl.org, pfg@sgi.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] gcc4 fix for sn_serial.c
Date: Tue, 15 Mar 2005 09:48:02 -0800	[thread overview]
Message-ID: <200503150948.03100.jbarnes@engr.sgi.com> (raw)
In-Reply-To: <20050315010358.GF3207@stusta.de>

On Monday, March 14, 2005 5:03 pm, Adrian Bunk wrote:
> > -static struct uart_driver sal_console_uart = {
> > +struct uart_driver sal_console_uart = {
> >   .owner = THIS_MODULE,
> >   .driver_name = "sn_console",
> >   .dev_name = DEVICE_NAME,
>
> Why can't you solve this without making sal_console_uart global?

I think that would mean moving some of the structure initializaiton into an 
init function somewhere.  But the compiler knows the addrs of these 
structures, so there must be a better way to do it, I just don't know it.  
Any suggestions?

Jesse

  reply	other threads:[~2005-03-15 17:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-14 19:32 Jesse Barnes
2005-03-15  1:03 ` Adrian Bunk
2005-03-15 17:48   ` Jesse Barnes [this message]
2005-04-26 22:58     ` Andreas Schwab
2005-04-26 23:09       ` Andreas Schwab

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=200503150948.03100.jbarnes@engr.sgi.com \
    --to=jbarnes@engr.sgi.com \
    --cc=akpm@osdl.org \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pfg@sgi.com \
    /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

all inboxes | Powered by JetHome®