Commit 4a065f94 authored by Christian Krafft's avatar Christian Krafft Committed by Arnd Bergmann

[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: default avatarChristian Krafft <krafft@de.ibm.com>
Signed-off-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
parent 79baf4a6
...@@ -118,6 +118,7 @@ static int pmi_irq_handler(int irq, void *dev_id) ...@@ -118,6 +118,7 @@ static int pmi_irq_handler(int irq, void *dev_id)
static struct of_device_id pmi_match[] = { static struct of_device_id pmi_match[] = {
{ .type = "ibm,pmi", .name = "ibm,pmi" }, { .type = "ibm,pmi", .name = "ibm,pmi" },
{ .type = "ibm,pmi" },
{}, {},
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment