linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Grant Likely" <grant.likely@secretlab.ca>
To: "Sylvain Munaut" <tnt@246tnt.com>
Cc: Linux PPC DEV <linuxppc-dev@ozlabs.org>,
	Paul Mackerras <paulus@samba.org>
Subject: Re: [PATCH 2/4] powerpc: 52xx, Don't use device_initcall to probe of_platform_bus
Date: Tue, 2 Jan 2007 15:52:20 -0700	[thread overview]
Message-ID: <528646bc0701021452q2a8359c2y73e3caa048ab0fe3@mail.gmail.com> (raw)
In-Reply-To: <11677769982640-git-send-email-tnt@246tNt.com>

On 1/2/07, Sylvain Munaut <tnt@246tnt.com> wrote:
> Using device_initcall makes it happen for every platform that
> compiles this file in. This is really bad, for obvious reasons.
>
> Instead, we use the .init field of the machine description. If
> the platform needs the hook to do something specific it can provides
> its own function and call mpc52xx_declare_of_platform_devices from
> there. If not, the mpc52xx_declare_of_platform_devices function can
> directly be used as the init hook.
>
> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>

  parent reply	other threads:[~2007-01-02 22:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-02 22:29 [PATCH 0/4] 52xx fixes for 2.6.20 Sylvain Munaut
2007-01-02 22:29 ` [PATCH 1/4] powerpc/serial: Dispose irq mapping when done in mpc52xx_serial.c Sylvain Munaut
2007-01-02 22:29   ` [PATCH 2/4] powerpc: 52xx, Don't use device_initcall to probe of_platform_bus Sylvain Munaut
2007-01-02 22:29     ` [PATCH 3/4] powerpc: Use common 52xx of_platform probe code for EFIKA Sylvain Munaut
2007-01-02 22:29       ` [PATCH 4/4] powerpc: Restore 'proper' link order in platform Sylvain Munaut
2007-01-02 22:51         ` Grant Likely
2007-01-02 22:53       ` [PATCH 3/4] powerpc: Use common 52xx of_platform probe code for EFIKA Grant Likely
2007-01-09 12:08       ` Paul Mackerras
2007-01-09 22:02         ` Sylvain Munaut
2007-01-11  2:56           ` Benjamin Herrenschmidt
2007-01-02 22:52     ` Grant Likely [this message]
2007-01-02 22:51   ` [PATCH 1/4] powerpc/serial: Dispose irq mapping when done in mpc52xx_serial.c Grant Likely
2007-01-09 12:05   ` Paul Mackerras

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=528646bc0701021452q2a8359c2y73e3caa048ab0fe3@mail.gmail.com \
    --to=grant.likely@secretlab.ca \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    --cc=tnt@246tnt.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;
as well as URLs for NNTP newsgroup(s).