From: Christian Krafft Date: Mon, 23 Apr 2007 19:35:44 +0000 (+0200) Subject: [POWERPC] pmi probe device by device-type X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4a065f9418274f2d73066f1638b3612341e4f030;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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" }, {}, };