diff options
author | Christian Krafft <krafft@de.ibm.com> | 2007-04-23 15:35:44 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-04-23 15:44:40 -0400 |
commit | 4a065f9418274f2d73066f1638b3612341e4f030 (patch) | |
tree | 2c7e818983bf6fe9bc117703584d2be906eef612 /arch/powerpc/sysdev | |
parent | 79baf4a60e8aceb2b8a5bed8575885499cb21ce4 (diff) |
[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 <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r-- | arch/powerpc/sysdev/pmi.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: | |||
118 | 118 | ||
119 | static struct of_device_id pmi_match[] = { | 119 | static struct of_device_id pmi_match[] = { |
120 | { .type = "ibm,pmi", .name = "ibm,pmi" }, | 120 | { .type = "ibm,pmi", .name = "ibm,pmi" }, |
121 | { .type = "ibm,pmi" }, | ||
121 | {}, | 122 | {}, |
122 | }; | 123 | }; |
123 | 124 | ||