From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from web53115.mail.yahoo.com (web53115.mail.yahoo.com [206.190.49.65]) by ozlabs.org (Postfix) with SMTP id 92635DE016 for ; Thu, 25 Jan 2007 15:56:19 +1100 (EST) Message-ID: <20070125045617.40490.qmail@web53115.mail.yahoo.com> Date: Wed, 24 Jan 2007 20:56:17 -0800 (PST) From: jimmy liu Subject: [PATCH] I2C: Add I2C support for the MPC8260 To: hs@denx.de, linuxppc-dev@ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , When I add mpc8260 I2C driver to Linux Kernel 2.6.19, the init function looks like that static int __init fsl_i2c_init(void) { return driver_register(&fsl_i2c_driver); } I set the debug on, and found that the fsl_i2c_probe() function is never called, so there is not I2C device enabled, and the user space function open("/dev/i2c-0",O_RDWR) always return error. I set something wrong? ____________________________________________________________________________________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know.