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

Stephen Rothwell sfr at canb.auug.org.au
Thu Nov 8 12:05:35 EST 2007


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.

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20071108/c19e8b0c/attachment.pgp>


More information about the Linuxppc-dev mailing list