Thread (1 message) 1 message, 1 author, 2012-11-16

[PATCH 1/9] usb: chipidea: pci: mark platformdata as static and __devinitdata

From: gregkh@linuxfoundation.org (Greg KH)
Date: 2012-11-16 12:02:34
Also in: linux-devicetree

On Fri, Nov 16, 2012 at 12:06:57PM +0200, Alexander Shishkin wrote:
Michael Grzeschik [off-list ref] writes:
quoted
From: Marc Kleine-Budde <mkl@pengutronix.de>

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Michael Grzeschik <redacted>
static yes, __devinitdata -- probably not. These structs are used
everywhere throughout the driver currently, not only at initialization
time.
__devinitdata means nothing anymore given that CONFIG_HOTPLUG is always
enabled.  It also will probably be removed for 3.8, so don't even worry
about adding these types of markings to variables.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help