ARM: imx: new helper function imx_add_platform_device
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 15 Jun 2010 09:31:02 +0000 (11:31 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 30 Jun 2010 07:00:03 +0000 (09:00 +0200)
commit253ff1fa6f8d24d46ef1b5aa68f6293b883f03d8
treeda40d69b0cb4357bab9c0a108609420db9c0f220
parent9f72ffedc8409b9c9cbe17a9f66c2982baa4ff52
ARM: imx: new helper function imx_add_platform_device

This should be a globally available function, see

http://thread.gmane.org/gmane.linux.kernel/998881/focus=998882

Until this hits mainline create a similar function available for imx
platforms only.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/arm/plat-mxc/devices.c
arch/arm/plat-mxc/include/mach/devices-common.h [new file with mode: 0644]