From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <9e4733910711011901lfe7733aiac972512d1a3ab2d@mail.gmail.com> Date: Thu, 1 Nov 2007 22:01:58 -0400 From: "Jon Smirl" To: "PowerPC dev list" Subject: Freescale I2C support and CONFIG_I2C_BOARDINFO 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: , Freescale I2C support is being constructed as a platform driver in arch/powerpc/sysdev/fsl_soc.c and protected with #ifdef CONFIG_I2C_BOARDINFO. Could the I2C support instead be initialized in drivers/i2c/busses/i2c-mpc.c as an of_platform driver instead? I'm find it confusing that half my drivers are platform drivers and half are of_platform drivers. It would also eliminate the need for the ifdef. I'll trying coding it up and see if it works. -- Jon Smirl jonsmirl@gmail.com