[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200906121307.29865.PeterHuewe@gmx.de>
Date: Fri, 12 Jun 2009 13:07:29 +0200
From: Peter Huewe <PeterHuewe@....de>
To: kernel-janitors@...r.kernel.org
Cc: trivial@...nel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] block: adding __init/__exit macros to DAC960.c
From: Peter Huewe <peterhuewe@....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@....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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists