aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Higdon <jeremy@sgi.com>2006-11-29 14:22:11 +0100
committerAdrian Bunk <bunk@stusta.de>2006-11-29 14:22:11 +0100
commit190492c8f861547c94109175186bf83d89898e42 (patch)
tree38c98464670228a74b90e828c6c4679fe8eb7982
parent82ae0fbafe0b80627b7f10e2436ee86578faf065 (diff)
downloadlinux-linaro-stable-190492c8f861547c94109175186bf83d89898e42.tar.gz
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: Jeremy Higdon <jeremy@sgi.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
-rw-r--r--drivers/ide/pci/sgiioc4.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/ide/pci/sgiioc4.c b/drivers/ide/pci/sgiioc4.c
index 43b96e298363..bde88093313b 100644
--- a/drivers/ide/pci/sgiioc4.c
+++ b/drivers/ide/pci/sgiioc4.c
@@ -734,14 +734,7 @@ ioc4_ide_init(void)
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_exit(ioc4_ide_exit);
MODULE_AUTHOR("Aniket Malatpure - Silicon Graphics Inc. (SGI)");
MODULE_DESCRIPTION("IDE PCI driver module for SGI IOC4 Base-IO Card");