[RFC] device.h: add device_set_platdata routine
viresh kumar
viresh.kumar at st.com
Tue Mar 1 04:13:07 EST 2011
On 03/01/2011 02:35 PM, Uwe Kleine-König wrote:
>> > Ok. So we should use platform_device_add_data instead and mark our platform
>> > data's struct as __init. So that it doesn't consume any memory after
>> > this routine is done??
> Yeah, either __initdata or still better const + __initconst if possible.
Ok. Thanks for your help.
--
viresh
More information about the linux-arm-kernel
mailing list