Re: (arm-)global platform device registration functions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Uwe Kleine-König
Date: Thursday, December 30, 2010 - 3:15 am

Hello Arnd,

On Thu, Dec 30, 2010 at 11:03:31AM +0100, Arnd Bergmann wrote:
imx_add_platform_device could be implemented as

	platform_device_register_resndata(NULL, name, id, res, num_resources, data, size_data)

in next[1] the imx variant got support to handle a dmamask.

I came up with those because many machines (sharing the same SoC) share
the same devices.

Well this is a matter of taste, I'm quite happy with the current
approach.

[1]
http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=blob;f=arch/arm/plat-mx...
-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
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)