powerpc: pmi probe device by device-type
PATCH 2/2 powerpc: pmi probe device by device-type
From: Christian Krafft <[email protected]>
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 <[email protected]>
Signed-off-by Arnd Bergmann <[email protected]>
arch/powerpc/sysdev/pmi.c +1 -0
@@ -103,6 +103,7 @@ out:static struct of_device_id pmi_match[] = { { .type ="ibm,pmi" , .name ="ibm,pmi" }, + { .type ="ibm,pmi" }, {}, };
Signature · 13 lines
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
Acked-by Heiko J Schick <[email protected]>
Quoted 42 lines · Christian Krafft
From: Christian Krafft <[email protected]>
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 <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>Index:
sdk3/arch/powerpc/sysdev/pmi.c
===================================================================arch/powerpc/sysdev/pmi.c +1
-0@@ -103,6 +103,7 @@ out:static struct of_device_id pmi_match[] = { { .type ="ibm,pmi" , .name ="ibm,pmi" }, + { .type ="ibm,pmi" }, {}, };Signature · 19 lines
-- 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 [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-dev