On Wed, 3 Dec 2008, Ben Dooks wrote:
> On Wed, Dec 03, 2008 at 09:58:10PM +0100, Guennadi Liakhovetski wrote:
> >
> > struct imxi2c_platform_data {
> > + u32 i2c_clk;
> > int (*init)(struct device *dev);
> > int (*exit)(struct device *dev);
> > };
> >
> > +struct imxi2c_board_data {
> > + struct imxi2c_platform_data data;
> > + unsigned int id;
> > +};
> > +
> > +extern int mxc_i2c_register_adapters(struct imxi2c_board_data *data, int
> > n);
>
> if there are only 1 or two busses, why not do
>
> mx2_i2c_register_board(int i2c_channel_nr, struct
> imx_i2c_platform_data *pd);
on i.MX31 there are 3.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html