Skip to content

Commit

Permalink
trivial: add __init/__exit macros to DAC960.c
Browse files Browse the repository at this point in the history
Trivial patch which adds the __init and __exit macros to the module_init /
module_exit functions from drivers/block/DAC960.c

Signed-off-by: Peter Huewe <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
PeterHuewe authored and Jiri Kosina committed Sep 21, 2009
1 parent 4b26d50 commit 3c36543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/block/DAC960.c
Original file line number Diff line number Diff line change
Expand Up @@ -7210,7 +7210,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;

Expand All @@ -7222,7 +7222,7 @@ static int DAC960_init_module(void)
return ret;
}

static void DAC960_cleanup_module(void)
static void __exit DAC960_cleanup_module(void)
{
int i;

Expand Down

0 comments on commit 3c36543

Please sign in to comment.