All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	linux-serial@vger.kernel.org, kay@ascent.dsl.pltn13.pacbell.net
Subject: Re: [patch 2.6.25-rc9] serial: fix platform driver hotplug/coldplug
Date: Sun, 13 Apr 2008 12:07:25 -0700	[thread overview]
Message-ID: <200804131207.25982.david-b@pacbell.net> (raw)
In-Reply-To: <8763ulzjia.fsf@macbook.be.48ers.dk>

On Sunday 13 April 2008, Peter Korsgaard wrote:
>  David> +/* work with hotplug and coldplug */
>  David> +MODULE_ALIAS("platform:uartlite");
>  David> +
> 
> Why not stick this next to the other MODULE_ lines, like the other
> drivers?

Conceptually that's part of the driver struct ... it's not
metadata like who wrote it, its version, and so on.  So I
prefer to keep it with that driver.

For example if the driver name changes that alias must change
too.  And when the platform bus glue gets configured out -- with
PPC_MERGE, where OpenFirmware bus glue aranges for any hotplug
and coldplug suppoort, or in some other cases -- that alias must
be made to vanish.

So when I fix omissions in Kay's original patch, or otherwise
write the code myself, that's how I do it.

- Dave


> Other than that ..
> 
> Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
> 
> -- 
> Bye, Peter Korsgaard
> 



  reply	other threads:[~2008-04-13 19:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-13 18:15 [patch 2.6.25-rc9] serial: fix platform driver hotplug/coldplug David Brownell
2008-04-13 18:39 ` Peter Korsgaard
2008-04-13 19:07   ` David Brownell [this message]
2008-04-13 19:11     ` Peter Korsgaard

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=200804131207.25982.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=akpm@linux-foundation.org \
    --cc=jacmet@sunsite.dk \
    --cc=kay@ascent.dsl.pltn13.pacbell.net \
    --cc=linux-serial@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.