Messages in this thread | | | Date | Tue, 1 Mar 2011 14:43:07 +0530 | From | viresh kumar <> | Subject | Re: [RFC] device.h: add device_set_platdata routine |
| |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |