lkml.org 
[lkml]   [2009]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] block: adding __init/__exit macros to DAC960.c
Date
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;

\
 
 \ /
  Last update: 2009-06-12 13:09    [W:0.081 / U:5.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site