From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by ozlabs.org (Postfix) with ESMTP id C2217DE00C for ; Tue, 24 Apr 2007 05:46:54 +1000 (EST) Message-Id: <20070423193912.986404391@arndb.de> References: <20070423193538.576702568@arndb.de> Date: Mon, 23 Apr 2007 21:35:44 +0200 From: Arnd Bergmann To: Paul Mackerras Subject: [PATCH 06/10] pmi probe device by device-type Cc: linuxppc-dev@ozlabs.org, Arnd Bergmann , Christian Krafft List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Christian Krafft 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 Signed-off-by: Arnd Bergmann 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" }, {}, }; --