diff options
author | Randy Dunlap <rddunlap@osdl.org> | 2005-01-10 17:26:07 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-10 17:26:07 -0800 |
commit | 802216512a94d32c815402c9c85c264ffcaef312 (patch) | |
tree | 60870412813485a3127b43c1377766067a7933b0 /drivers | |
parent | 111b88bf399406586f780f53c4b5e6d142a30bc4 (diff) | |
download | history-802216512a94d32c815402c9c85c264ffcaef312.tar.gz |
[PATCH] i2o: fix init/exit section usage
Fix 3 instances of bad calls to i2o_pci_free(), from init to exit
code sections:
Error: ./drivers/message/i2o/pci.o .init.text refers to 000000f7 R_386_PC32 .exit.text
Error: ./drivers/message/i2o/pci.o .init.text refers to 000003bc R_386_PC32 .exit.text
Error: ./drivers/message/i2o/pci.o .init.text refers to 00000572 R_386_PC32 .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')
-rw-r--r-- | drivers/message/i2o/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/i2o/pci.c b/drivers/message/i2o/pci.c index f98849abbe2a13..6107058460b60e 100644 --- a/drivers/message/i2o/pci.c +++ b/drivers/message/i2o/pci.c @@ -83,7 +83,7 @@ int i2o_dma_realloc(struct device *dev, struct i2o_dma *addr, size_t len, * Remove all allocated DMA memory and unmap memory IO regions. If MTRR * is enabled, also remove it again. */ -static void __devexit i2o_pci_free(struct i2o_controller *c) +static void i2o_pci_free(struct i2o_controller *c) { struct device *dev; |