diff options
| author | Randy Dunlap <rddunlap@osdl.org> | 2005-01-07 21:42:10 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-01-07 21:42:10 -0800 |
| commit | 4ceaf32b6dd1b75834842b398ec6518d20249572 (patch) | |
| tree | 136b507a9de8a678a942509033327f4045657e9a /drivers/misc/ibmasm/module.c | |
| parent | 047eac4a4a32fea11ec8f52b6b58042b96002c3f (diff) | |
[PATCH] ibmasm: fix init/exit sections
Fix init & exit section usage, started with this diagnostic from
reference_discarded.pl (make buildcheck):
Error: ./drivers/misc/ibmasm/module.o .data refers to 00000058 R_386_32 .exit.text
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/misc/ibmasm/module.c')
| -rw-r--r-- | drivers/misc/ibmasm/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/ibmasm/module.c b/drivers/misc/ibmasm/module.c index eb7f13093c5f..4df82bbbe9d7 100644 --- a/drivers/misc/ibmasm/module.c +++ b/drivers/misc/ibmasm/module.c @@ -57,7 +57,7 @@ #include "remote.h" -static int __init ibmasm_init_one(struct pci_dev *pdev, const struct pci_device_id *id) +static int __devinit ibmasm_init_one(struct pci_dev *pdev, const struct pci_device_id *id) { int err, result = -ENOMEM; struct service_processor *sp; @@ -161,7 +161,7 @@ error_kmalloc: return result; } -static void __exit ibmasm_remove_one(struct pci_dev *pdev) +static void __devexit ibmasm_remove_one(struct pci_dev *pdev) { struct service_processor *sp = (struct service_processor *)pci_get_drvdata(pdev); |
