瀏覽代碼

[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>
Christian Krafft 18 年之前
父節點
當前提交
4a065f9418
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/powerpc/sysdev/pmi.c

+ 1 - 0
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" },
 	{},
 };