patch-2.3.17 linux/drivers/scsi/scsi_module.c
Next file: linux/drivers/scsi/scsi_obsolete.c
Previous file: linux/drivers/scsi/scsi_ioctl.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Sat Sep 4 10:48:46 1999
- Orig file:
v2.3.16/linux/drivers/scsi/scsi_module.c
- Orig date:
Sat Sep 20 11:42:33 1997
diff -u --recursive --new-file v2.3.16/linux/drivers/scsi/scsi_module.c linux/drivers/scsi/scsi_module.c
@@ -31,18 +31,20 @@
#include <linux/module.h>
-int init_module(void) {
- driver_template.module = &__this_module;
- scsi_register_module(MODULE_SCSI_HA, &driver_template);
- if (driver_template.present)
- return 0;
+int init_module(void)
+{
+ driver_template.module = &__this_module;
+ scsi_register_module(MODULE_SCSI_HA, &driver_template);
+ if (driver_template.present)
+ return 0;
- scsi_unregister_module(MODULE_SCSI_HA, &driver_template);
- return -1;
+ scsi_unregister_module(MODULE_SCSI_HA, &driver_template);
+ return -1;
}
-void cleanup_module( void) {
- scsi_unregister_module(MODULE_SCSI_HA, &driver_template);
+void cleanup_module(void)
+{
+ scsi_unregister_module(MODULE_SCSI_HA, &driver_template);
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)