From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw01.freescale.net (de01egw01.freescale.net [192.88.165.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "de01egw01.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 97F60DE2D9 for ; Fri, 18 May 2007 00:47:01 +1000 (EST) Date: Thu, 17 May 2007 09:39:11 -0500 From: Scott Wood To: linuxppc-dev@ozlabs.org Subject: [PATCH 5/5] powerpc: Call of_register_i2c_devices() for fsl-i2c. Message-ID: <20070517143911.GE29795@ld0162-tx32.am.freescale.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: i2c@lm-sensors.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Call of_register_i2c_devices() to register I2C devices on the device tree under an fsl-i2c node. Signed-off-by: Scott Wood --- arch/powerpc/sysdev/fsl_soc.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index cad1757..0ab9603 100644 --- a/arch/powerpc/sysdev/fsl_soc.c +++ b/arch/powerpc/sysdev/fsl_soc.c @@ -340,6 +340,8 @@ static int __init fsl_i2c_of_init(void) fsl_i2c_platform_data)); if (ret) goto unreg; + + of_register_i2c_devices(np, i); } return 0; -- 1.5.0.3