[RFC] Modifying i2c-core to support alias driver names compatible with device trees

Jon Smirl jonsmirl at gmail.com
Thu Nov 8 13:18:09 EST 2007


On 11/7/07, Stephen Rothwell <sfr at canb.auug.org.au> wrote:
> On Tue, 6 Nov 2007 15:39:42 -0500 "Jon Smirl" <jonsmirl at gmail.com> wrote:
> >
> > It was requested to split this code out into a separate thread....
> >
> > This code modifies the i2c-core to support lists of alias names in the
> > chip drivers.
> > For example: .aliases = (char const
> > *[]){"ricoh,rs5c372a","ricoh,rs5c372b","ricoh,rv5c386","ricoh,rv5c387a",
> > 0},
>
> You should not need the (char const *[]) casts at all.

That is what I thought but the compiler complains without it. I tried
everything I could think of to get rid of it.

-- 
Jon Smirl
jonsmirl at gmail.com



More information about the Linuxppc-dev mailing list