[PATCH 06/10] pmi probe device by device-type
From: Arnd Bergmann <arnd@arndb.de>
Date: 2007-04-23 19:46:54
From: Arnd Bergmann <arnd@arndb.de>
Date: 2007-04-23 19:46:54
From: Christian Krafft <redacted> 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 <redacted> Signed-off-by: Arnd Bergmann <redacted> Index: linux-2.6/arch/powerpc/sysdev/pmi.c ===================================================================
--- linux-2.6.orig/arch/powerpc/sysdev/pmi.c
+++ linux-2.6/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" }, {}, }; --