(arm-)global platform device registration functions

From: Uwe Kleine-König
Date: Wed Dec 29 2010 - 11:25:20 EST


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/ |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/