[POWERPC] pmi probe device by device-type
authorChristian Krafft <krafft@de.ibm.com>
Mon, 23 Apr 2007 19:35:44 +0000 (21:35 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Mon, 23 Apr 2007 19:44:40 +0000 (21:44 +0200)
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>
arch/powerpc/sysdev/pmi.c

index 0b53fed8a9b190902dfd46c61e2ebb5a2ac1ae93..05db1f9f82d3dfad9f26038a4ad8aa9685f2a5de 100644 (file)
@@ -118,6 +118,7 @@ out:
 
 static struct of_device_id pmi_match[] = {
        { .type = "ibm,pmi", .name = "ibm,pmi" },
+       { .type = "ibm,pmi" },
        {},
 };