linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [patch 2/2] powerpc: pmi probe device by device-type
@ 2007-04-23 18:22 Christian Krafft
  2007-04-24  5:53 ` Heiko J Schick
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Krafft @ 2007-04-23 18:22 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: krafft, cbe-oss-dev

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]

From: Christian Krafft <krafft@de.ibm.com>
At the moment the pmi device driver is probing for devices with
a given type and a given name. As there may be devices of
the same type but with a different name, probing should be
done also for device type only.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>

Index: sdk3/arch/powerpc/sysdev/pmi.c
===================================================================
--- sdk3.orig/arch/powerpc/sysdev/pmi.c
+++ sdk3/arch/powerpc/sysdev/pmi.c
@@ -103,6 +103,7 @@ out:
 
 static struct of_device_id pmi_match[] = {
 	{ .type = "ibm,pmi", .name = "ibm,pmi" },
+	{ .type = "ibm,pmi" },
 	{},
 };
 


-- 
Mit freundlichen Gruessen,
kind regards,

Christian Krafft
IBM Systems & Technology Group,
Linux Kernel Development
IT Specialist


Vorsitzender des Aufsichtsrats:	Johann Weihen
Geschaeftsfuehrung:		Herbert Kircher
Sitz der Gesellschaft:		Boeblingen
Registriergericht:		Amtsgericht Stuttgart, HRB 243294


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 2/2] powerpc: pmi probe device by device-type
  2007-04-23 18:22 [patch 2/2] powerpc: pmi probe device by device-type Christian Krafft
@ 2007-04-24  5:53 ` Heiko J Schick
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko J Schick @ 2007-04-24  5:53 UTC (permalink / raw)
  To: Christian Krafft; +Cc: linuxppc-dev, cbe-oss-dev

Acked-by: Heiko J Schick <schickhj@de.ibm.com>

On 23.04.2007, at 20:22, Christian Krafft wrote:

> From: Christian Krafft <krafft@de.ibm.com>
> At the moment the pmi device driver is probing for devices with
> a given type and a given name. As there may be devices of
> the same type but with a different name, probing should be
> done also for device type only.
>
> Signed-off-by: Christian Krafft <krafft@de.ibm.com>
> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
>
> Index: sdk3/arch/powerpc/sysdev/pmi.c
> ===================================================================
> --- sdk3.orig/arch/powerpc/sysdev/pmi.c
> +++ sdk3/arch/powerpc/sysdev/pmi.c
> @@ -103,6 +103,7 @@ out:
>
>  static struct of_device_id pmi_match[] = {
>  	{ .type = "ibm,pmi", .name = "ibm,pmi" },
> +	{ .type = "ibm,pmi" },
>  	{},
>  };
>
>
>
> -- 
> Mit freundlichen Gruessen,
> kind regards,
>
> Christian Krafft
> IBM Systems & Technology Group,
> Linux Kernel Development
> IT Specialist
>
>
> Vorsitzender des Aufsichtsrats:	Johann Weihen
> Geschaeftsfuehrung:		Herbert Kircher
> Sitz der Gesellschaft:		Boeblingen
> Registriergericht:		Amtsgericht Stuttgart, HRB 243294
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-24  5:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-23 18:22 [patch 2/2] powerpc: pmi probe device by device-type Christian Krafft
2007-04-24  5:53 ` Heiko J Schick

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).