Commit 80221651 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[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: 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 111b88bf
......@@ -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;
......
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