public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] block: adding __init/__exit macros to DAC960.c
@ 2009-06-12 11:07 Peter Huewe
  2009-06-22 22:04 ` Peter Hüwe
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Huewe @ 2009-06-12 11:07 UTC (permalink / raw)
  To: kernel-janitors; +Cc: trivial, linux-kernel

From: Peter Huewe <peterhuewe@gmx.de>

Trivial patch which adds the __init and __exit macros to the module_init /
module_exit functions from drivers/block/DAC960.c
linux version 2.6.30

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c
index f22ed6c..5b4a48b 100644
--- a/drivers/block/DAC960.c
+++ b/drivers/block/DAC960.c
@@ -7209,7 +7209,7 @@ static struct pci_driver DAC960_pci_driver = {
 	.remove		= DAC960_Remove,
 };
 
-static int DAC960_init_module(void)
+static int __init DAC960_init_module(void)
 {
 	int ret;
 
@@ -7221,7 +7221,7 @@ static int DAC960_init_module(void)
 	return ret;
 }
 
-static void DAC960_cleanup_module(void)
+static void __exit DAC960_cleanup_module(void)
 {
 	int i;

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

end of thread, other threads:[~2009-07-01  9:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-12 11:07 [PATCH] block: adding __init/__exit macros to DAC960.c Peter Huewe
2009-06-22 22:04 ` Peter Hüwe
2009-06-23  8:48   ` Jiri Kosina
2009-07-01  8:54     ` Peter Hüwe
2009-07-01  8:58       ` Jiri Kosina
2009-07-01  9:05         ` Peter Hüwe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox