Re: (arm-)global platform device registration functions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Thursday, December 30, 2010 - 3:03 am

On Wednesday 29 December 2010 17:25:12 Uwe Kleine-König wrote:

Adding platform devices dynamically is definitely the right way forward
for new platforms, as Greg explained recently. The imx_add_platform_device()
function you have defined looks useful for this, and I guess it could
be added globally, next to the existing platform_device_register_resndata,
platform_device_register_data and platform_device_register_simple functions
that we already have doing similar things.

I'm not convinced that the various wrappers you have on imx are the
best solution, though I have not come up with anything better either ;-)

This will also get a lot easier once we have the ability to define
devices in using dtc, because that takes care of the resources.

	Arnd
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
(arm-)global platform device registration functions, Uwe Kleine-König, (Wed Dec 29, 9:25 am)
Re: (arm-)global platform device registration functions, Andrew Morton, (Wed Dec 29, 1:37 pm)
Re: (arm-)global platform device registration functions, Uwe Kleine-König, (Wed Dec 29, 2:18 pm)
Re: (arm-)global platform device registration functions, Arnd Bergmann, (Thu Dec 30, 3:03 am)
Re: (arm-)global platform device registration functions, Uwe Kleine-König, (Thu Dec 30, 3:15 am)