[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>
This commit is contained in:
Christian Krafft 2007-04-23 21:35:44 +02:00 коммит произвёл Arnd Bergmann
Родитель 79baf4a60e
Коммит 4a065f9418
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -118,6 +118,7 @@ out:
static struct of_device_id pmi_match[] = {
{ .type = "ibm,pmi", .name = "ibm,pmi" },
{ .type = "ibm,pmi" },
{},
};