[RFC][PATCH] ppc32: Make platform devices being able to assign functions

Vitaly Bordug vbordug at ru.mvista.com
Fri Dec 16 06:59:50 EST 2005


The idea is to modify a .name field on a platform device, when PDs with the
same names are to be used within different drivers, as
<device_name> -> <device_name>:<function>
Corresponding drivers should change the .name in struct device_driver to
reflect upper of course.

Signed-off-by: Vitaly Bordug <vbordug at ru.mvista.com>

This is preliminary version, maybe some issues still need not be cleaned up, and there is no
"generic" platform_notify for board_specific code yet, but I'd like to see opinions concerning this stuff meantime. 

-- 
Sincerely, 
Vitaly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc_sys_addon2.patch
Type: text/x-patch
Size: 6785 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20051215/ff994315/attachment.bin 


More information about the Linuxppc-embedded mailing list