summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_module.c')
-rw-r--r--drivers/scsi/scsi_module.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/drivers/scsi/scsi_module.c b/drivers/scsi/scsi_module.c
index 8a0de132a..b7900f70d 100644
--- a/drivers/scsi/scsi_module.c
+++ b/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);
}
/*