diff options
author | Christian Krafft <krafft@de.ibm.com> | 2007-04-23 21:35:44 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-04-23 21:44:40 +0200 |
commit | 4a065f9418274f2d73066f1638b3612341e4f030 (patch) | |
tree | 2c7e818983bf6fe9bc117703584d2be906eef612 /arch/powerpc/sysdev/pmi.c | |
parent | [POWERPC] add check for initialized driver data to pmi driver (diff) | |
download | linux-4a065f9418274f2d73066f1638b3612341e4f030.tar.xz linux-4a065f9418274f2d73066f1638b3612341e4f030.zip |
[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/pmi.c')
-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: static struct of_device_id pmi_match[] = { { .type = "ibm,pmi", .name = "ibm,pmi" }, + { .type = "ibm,pmi" }, {}, }; |