[PATCH] Added QE to the list of default scanned OF devices

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Feb 9 09:27:47 EST 2007


On Thu, 2007-02-08 at 10:56 -0600, Andy Fleming wrote:
> Signed-off-by: Andrew Fleming <afleming at freescale.com>
> ---
>  arch/powerpc/kernel/of_platform.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

As I said several times on irc, I dislike the "default list" and I'm
tempted to remove it. I'd much prefer if your platform passed in the
list of what it wants exposed.

Ben.

> diff --git a/arch/powerpc/kernel/of_platform.c b/arch/powerpc/kernel/of_platform.c
> index b734517..43c5a00 100644
> --- a/arch/powerpc/kernel/of_platform.c
> +++ b/arch/powerpc/kernel/of_platform.c
> @@ -51,6 +51,7 @@ static struct of_device_id of_default_bu
>  	{ .type = "plb4", },
>  	{ .type = "opb", },
>  	{ .type = "ebc", },
> +	{ .type = "qe", },
>  	{},
>  };
>  




More information about the Linuxppc-dev mailing list