LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Freescale I2C support and CONFIG_I2C_BOARDINFO
@ 2007-11-02  2:01 Jon Smirl
  0 siblings, 0 replies; only message in thread
From: Jon Smirl @ 2007-11-02  2:01 UTC (permalink / raw)
  To: PowerPC dev list

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-02  2:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-02  2:01 Freescale I2C support and CONFIG_I2C_BOARDINFO Jon Smirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox