Commit 4ceaf32b authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[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: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 047eac4a
......@@ -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 @@ static int __init ibmasm_init_one(struct pci_dev *pdev, const struct pci_device_
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment