From: Christian Krafft Date: Mon, 23 Apr 2007 19:35:44 +0000 (+0200) Subject: [POWERPC] pmi probe device by device-type X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~38648^2~71^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4a065f9418274f2d73066f1638b3612341e4f030;p=linux-4.9.git [POWERPC] pmi probe device by device-type 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 Signed-off-by: Arnd Bergmann --- diff --git a/arch/powerpc/sysdev/pmi.c b/arch/powerpc/sysdev/pmi.c index 0b53fed8a9b1..05db1f9f82d3 100644 --- a/arch/powerpc/sysdev/pmi.c +++ b/arch/powerpc/sysdev/pmi.c @@ -118,6 +118,7 @@ out: static struct of_device_id pmi_match[] = { { .type = "ibm,pmi", .name = "ibm,pmi" }, + { .type = "ibm,pmi" }, {}, };