(arm-)global platform device registration functions

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Dec 29 11:25:12 EST 2010


Hello,

some time ago I started to dynamically allocate platform_devices for
arm/plat-mxc.  For that purpose I added many functions, see
arch/arm/plat-mxc/include/mach/devices-common.h [1].  Now arm/arch-mxs
want to do the same, so I wonder if it would be sensible to do something
like this more globally (either for arm or better kernel global).

Thoughts?

Best regards
Uwe

[1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/arm/plat-mxc/include/mach/devices-common.h;hb=HEAD

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list