[PATCH 08/10] macintosh: Use the new of_device common uevent handler

Johannes Berg johannes at sipsolutions.net
Wed Mar 28 20:29:19 EST 2007


On Tue, 2007-03-27 at 09:11 +0200, Sylvain Munaut wrote:

> I had a look at sound/aoa/soundbus/i2sbus/i2sbus-core.c , which is the
> only part of aoa with of_device_id and I see that it uses the
> MODULE_ALIAS directly :
> MODULE_ALIAS("of:Ni2sTi2sC");
> instead of using
> MODULE_DEVICE_TABLE(of, i2sbus_match);
> and letting modpost do the job. Because that module alias is not the one
> that's gonna be generated by modpost.

Can you elaborate on that for me? If that's the incorrect thing to do I
should probably change that :)

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070328/92b1b017/attachment.pgp>


More information about the Linuxppc-dev mailing list