login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
29
Re: [PATCHv2 3/8] USB: gadget: __init and __exit tags removed
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Greg KH
Subject:
Re: [PATCHv2 3/8] USB: gadget: __init and __exit tags removed
Date: Thursday, April 29, 2010 - 3:15 pm
On Fri, Apr 09, 2010 at 09:21:20PM +0200, Michal Nazarewicz wrote:
quoted text
> __init, __initdata and __exit tags have have been removed from > various files to make it possible for gadgets that do not use > the __init/__exit tags to use those. > > Files in question are related to: > * the core composite framework, > * the mass storage function (fixing a section mismatch) and > * ethernet driver (ACM, ECM, RNDIS). > > Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com> > Cc: Kyungmin Park <kyungmin.park@samsung.com> > Cc: Marek Szyprowski <m.szyprowski@samsung.com> > --- > drivers/usb/gadget/composite.c | 21 ++++++++++----------- > drivers/usb/gadget/config.c | 4 ++-- > drivers/usb/gadget/epautoconf.c | 12 ++++++------ > drivers/usb/gadget/f_acm.c | 32 ++++++++++++++++---------------- > drivers/usb/gadget/f_ecm.c | 33 +++++++++++++++++---------------- > drivers/usb/gadget/f_mass_storage.c | 2 +- > drivers/usb/gadget/f_rndis.c | 34 ++++++++++++++++++---------------- > drivers/usb/gadget/u_ether.c | 4 ++-- > 8 files changed, 72 insertions(+), 70 deletions(-) > > diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c > index 09289bb..ff155ca 100644 > --- a/drivers/usb/gadget/composite.c > +++ b/drivers/usb/gadget/composite.c > @@ -85,7 +85,7 @@ MODULE_PARM_DESC(iSerialNumber, "SerialNumber string"); > * This function returns the value of the function's bind(), which is > * zero for success else a negative errno value. > */ > -int __init usb_add_function(struct usb_configuration *config, > +int __cold usb_add_function(struct usb_configuration *config,
What is the "__cold" for? thanks, greg k-h --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/7] The FunctionFS composite function
, Michal Nazarewicz
, (Fri Apr 9, 12:21 pm)
[PATCHv2 1/8] wait_event_interruptible_locked() interface
, Michal Nazarewicz
, (Fri Apr 9, 12:21 pm)
[PATCHv2 2/8] fs/timerfd.c: make use of wait_event_interru ...
, Michal Nazarewicz
, (Fri Apr 9, 12:21 pm)
[PATCHv2 3/8] USB: gadget: __init and __exit tags removed
, Michal Nazarewicz
, (Fri Apr 9, 12:21 pm)
[PATCHv2 4/8] USB: f_fs: the FunctionFS driver
, Michal Nazarewicz
, (Fri Apr 9, 12:21 pm)
[PATCHv2 5/8] USB: g_ffs: the FunctionFS gadget driver
, Michal Nazarewicz
, (Fri Apr 9, 12:21 pm)
[PATCHv2 6/8] USB: ffs-test: FunctionFS testing program
, Michal Nazarewicz
, (Fri Apr 9, 12:21 pm)
[PATCHv2 8/8] USB: testusb: testusb compatibility with Fun ...
, Michal Nazarewicz
, (Fri Apr 9, 12:21 pm)
Re: [PATCHv2 2/8] fs/timerfd.c: make use of wait_event_int ...
, Thomas Gleixner
, (Sun Apr 11, 7:31 am)
Re: [PATCHv2 1/8] wait_event_interruptible_locked() interface
, Thomas Gleixner
, (Sun Apr 11, 8:02 am)
Re: [PATCHv2 2/8] fs/timerfd.c: make use of wait_event_int ...
, Michal Nazarewicz
, (Sun Apr 11, 12:16 pm)
Re: [PATCHv2 1/8] wait_event_interruptible_locked() interface
, Michal Nazarewicz
, (Sun Apr 11, 12:27 pm)
Re: [PATCHv2 3/8] USB: gadget: __init and __exit tags removed
, Greg KH
, (Thu Apr 29, 3:15 pm)
Re: [PATCHv2 3/8] USB: gadget: __init and __exit tags removed
, Michal Nazarewicz
, (Thu Apr 29, 4:02 pm)
Re: [PATCHv2 3/8] USB: gadget: __init and __exit tags removed
, Greg KH
, (Thu Apr 29, 4:22 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Ingo Molnar
Re: [RFC/RFT PATCH] sched: automated per tty task groups
Uwe Kleine-König
Re: [PATCH v2] ARM: allow, but warn, when issuing ioremap() on RAM
Josef Bacik
[PATCH] fallocate.2: add FALLOC_FL_PUNCH_HOLE flag definition
Andrew Morton
Re: [PATCH v3 0/4] Introduce hardware spinlock framework
git
:
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Bert Wesarg
[TopGit PATCH v3 06/12] list_deps: accept -i/-w
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Petr Baudis
Re: PPC SHA-1 Updates in "pu"
git-commits-head
:
Linux Kernel Mailing List
libata: disable ATAPI AN by default
Linux Kernel Mailing List
ARM: 5905/1: ARM: Global ASID allocation on SMP
Linux Kernel Mailing List
misc: replace remaining __FUNCTION__ with __func__
Linux Kernel Mailing List
Disallow gcc versions 4.1.{0,1}
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
David Miller
Re: [PATCH 2/5] dccp: Auto-load (when supported) CCID plugins for negotiation
openbsd-misc
:
Boris Goldberg
Re: HP ProLiant DL320 v. Sun Fire V125
Stuart Henderson
Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
Darrin Chandler
Re: strange output on openbsd C code
Karel Kulhavy
Re: No Blob without Puffy
Nick Holland
Re: Install OpenBSD from USB ?
Colocation donated by:
Syndicate