Commit 190492c8 authored by Jeremy Higdon's avatar Jeremy Higdon Committed by Adrian Bunk

sgiioc4: Disable module unload

This patch removes a module_exit function that sgiioc4 should not have had.

It seems that the IDE layer doesn't support submodule unloading. sgiioc4
was the only driver in drivers/ide/pci that had an exit function.
After an unload, the devices would stay around and the next attempt to
reference would crash...
Signed-off-by: default avatarJeremy Higdon <jeremy@sgi.com>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent 82ae0fba
...@@ -734,14 +734,7 @@ ioc4_ide_init(void) ...@@ -734,14 +734,7 @@ ioc4_ide_init(void)
return ioc4_register_submodule(&ioc4_ide_submodule); return ioc4_register_submodule(&ioc4_ide_submodule);
} }
static void __devexit
ioc4_ide_exit(void)
{
ioc4_unregister_submodule(&ioc4_ide_submodule);
}
module_init(ioc4_ide_init); module_init(ioc4_ide_init);
module_exit(ioc4_ide_exit);
MODULE_AUTHOR("Aniket Malatpure - Silicon Graphics Inc. (SGI)"); MODULE_AUTHOR("Aniket Malatpure - Silicon Graphics Inc. (SGI)");
MODULE_DESCRIPTION("IDE PCI driver module for SGI IOC4 Base-IO Card"); MODULE_DESCRIPTION("IDE PCI driver module for SGI IOC4 Base-IO Card");
......
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