linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: olof@lixom.net (Olof Johansson)
Cc: linuxppc-dev@ozlabs.org, arnd@arndb.de
Subject: Re: [PATCH] [5/5] [v2] pasemi: GPIO MDIO of_platform driver
Date: Tue, 1 May 2007 14:35:58 +1000	[thread overview]
Message-ID: <17974.50094.70055.169529@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <20070418063954.GB11480@lixom.net>

I just noticed this in arch/powerpc/platforms/pasemi/setup.c:

> --- powerpc.orig/arch/powerpc/platforms/pasemi/setup.c
> +++ powerpc/arch/powerpc/platforms/pasemi/setup.c
> @@ -209,6 +209,20 @@ static void __init pas_init_early(void)
>  	iommu_init_early_pasemi();
>  }
>  
> +static struct of_device_id pasemi_bus_ids[] = {
> +	{ .type = "sdc", },
> +	{},
> +};
> +
> +static int __init pasemi_publish_devices(void)
> +{
> +	/* Publish OF platform devices for southbridge IOs */
> +	of_platform_bus_probe(NULL, pasemi_bus_ids, NULL);
> +
> +	return 0;
> +}
> +device_initcall(pasemi_publish_devices);

Oof.  Please make sure you only call of_platform_bus_probe if you are
actually on a pasemi platform... :)

Paul.

  reply	other threads:[~2007-05-01  4:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-16  6:26 [PATCH] [1/5] pasemi: allow 8KB config space for I/O bridge Olof Johansson
2007-04-16  6:27 ` [PATCH] [2/5] pasemi: enable one more hid bit Olof Johansson
2007-04-24  0:27   ` Benjamin Herrenschmidt
2007-04-24  1:04     ` Olof Johansson
2007-04-16  6:28 ` [PATCH] [3/5] pasemi: reset mpic on boot Olof Johansson
2007-04-16  6:30 ` [PATCH] [4/5] pasemi: PA6T oprofile support Olof Johansson
2007-04-18  6:38   ` [PATCH] [4/5] [v2] " Olof Johansson
2007-04-16  6:31 ` [PATCH] [5/5] pasemi: GPIO MDIO of_platform driver Olof Johansson
2007-04-16 23:07   ` Arnd Bergmann
2007-04-17  0:47     ` Olof Johansson
2007-04-18  6:39   ` [PATCH] [5/5] [v2] " Olof Johansson
2007-05-01  4:35     ` Paul Mackerras [this message]
2007-05-01  4:45       ` Olof Johansson

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=17974.50094.70055.169529@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=arnd@arndb.de \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=olof@lixom.net \
    /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).