All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] misc: add __init/__exit macros to drivers/misc/hwlat_detector.c
@ 2009-12-22  8:29 ` peterhuewe
  0 siblings, 0 replies; 22+ messages in thread
From: peterhuewe @ 2009-12-22  8:29 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: kernel-janitors, Peter Huewe, Jon Masters, Uwe Kleine-König,
	Paul E. McKenney, linux-kernel

From: Peter Huewe <peterhuewe@gmx.de>

Trivial patch which adds the __init/__exit macros to the module_init/
module_exit functions of

drivers/misc/hwlat_detector.c

Please have a look at the small patch and either pull it through
your tree, or please ack' it so Jiri can pull it through the trivial
tree.

Patch against linux-next-tree, 22. Dez 08:38:18 CET 2009
but also present in linus tree.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
 drivers/misc/hwlat_detector.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/misc/hwlat_detector.c b/drivers/misc/hwlat_detector.c
index e02d8e1..fd6fa6f 100644
--- a/drivers/misc/hwlat_detector.c
+++ b/drivers/misc/hwlat_detector.c
@@ -1163,7 +1163,7 @@ static void free_debugfs(void)
 /**
  * detector_init - Standard module initialization code
  */
-static int detector_init(void)
+static int __init detector_init(void)
 {
 	int ret = -ENOMEM;
 
@@ -1192,7 +1192,7 @@ out:
 /**
  * detector_exit - Standard module cleanup code
  */
-static void detector_exit(void)
+static void __exit detector_exit(void)
 {
 	if (enabled) {
 		enabled = 0;
-- 
1.6.4.4


^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2010-01-08  8:14 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-22  8:29 [PATCH 1/2] misc: add __init/__exit macros to drivers/misc/hwlat_detector.c peterhuewe
2009-12-22  8:29 ` peterhuewe
2009-12-22  8:29 ` [PATCH 2/2] ide: add __init/__exit macros to drivers/ide/scc_pata.c peterhuewe
2009-12-22  8:29   ` peterhuewe
2010-01-05 10:25   ` [PATCH 2/2] ide: add __init/__exit macros to Jiri Kosina
2010-01-05 10:25     ` [PATCH 2/2] ide: add __init/__exit macros to drivers/ide/scc_pata.c Jiri Kosina
2010-01-05 18:39     ` Bartlomiej Zolnierkiewicz
2010-01-05 18:39       ` Bartlomiej Zolnierkiewicz
2010-01-06 20:28       ` [PATCH 2/2] ide: add __init/__exit macros to David Miller
2010-01-06 20:28         ` [PATCH 2/2] ide: add __init/__exit macros to drivers/ide/scc_pata.c David Miller
2010-01-06 20:58         ` Peter Huewe
2010-01-06 20:58           ` Peter Huewe
2010-01-08  8:13       ` [PATCH 2/2] ide: add __init/__exit macros to David Miller
2010-01-08  8:13         ` [PATCH 2/2] ide: add __init/__exit macros to drivers/ide/scc_pata.c David Miller
2010-01-08  8:14         ` [PATCH 2/2] ide: add __init/__exit macros to David Miller
2010-01-08  8:14           ` [PATCH 2/2] ide: add __init/__exit macros to drivers/ide/scc_pata.c David Miller
2009-12-22 13:02 ` [PATCH 1/2] misc: add __init/__exit macros to 
2009-12-22 13:02   ` [PATCH 1/2] misc: add __init/__exit macros to drivers/misc/hwlat_detector.c Uwe Kleine-König
2009-12-22 13:17   ` [PATCH 1/2] misc: add __init/__exit macros to Jiri Kosina
2009-12-22 13:17     ` [PATCH 1/2] misc: add __init/__exit macros to drivers/misc/hwlat_detector.c Jiri Kosina
2009-12-22 13:30   ` [PATCH 1/2] misc: add __init/__exit macros to Jon Masters
2009-12-22 13:30     ` [PATCH 1/2] misc: add __init/__exit macros to drivers/misc/hwlat_detector.c Jon Masters

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.