[PATCH 1/9] usb: chipidea: pci: mark platformdata as static and __devinitdata
Alexander Shishkin
alexander.shishkin at linux.intel.com
Fri Nov 16 06:41:41 EST 2012
Marc Kleine-Budde <mkl at pengutronix.de> writes:
> On 11/16/2012 11:06 AM, Alexander Shishkin wrote:
>> Michael Grzeschik <m.grzeschik at pengutronix.de> writes:
>>
>>> From: Marc Kleine-Budde <mkl at pengutronix.de>
>>>
>>> Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
>>> Signed-off-by: Michael Grzeschik <m.grzeschik at pengutronix.de>
>>
>> static yes, __devinitdata -- probably not. These structs are used
>> everywhere throughout the driver currently, not only at initialization
>> time.
>
> Yes, but a copy of the platform_data is used:
True, forgot about that. Apologies.
Regards,
--
Alex
More information about the linux-arm-kernel
mailing list