diff options
Diffstat (limited to 'drivers/message/fusion/mptctl.c')
-rw-r--r-- | drivers/message/fusion/mptctl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptctl.c b/drivers/message/fusion/mptctl.c index 40046f595f1c..d8ddfdf8be14 100644 --- a/drivers/message/fusion/mptctl.c +++ b/drivers/message/fusion/mptctl.c | |||
@@ -3018,7 +3018,8 @@ static int __init mptctl_init(void) | |||
3018 | * Install our handler | 3018 | * Install our handler |
3019 | */ | 3019 | */ |
3020 | ++where; | 3020 | ++where; |
3021 | mptctl_id = mpt_register(mptctl_reply, MPTCTL_DRIVER); | 3021 | mptctl_id = mpt_register(mptctl_reply, MPTCTL_DRIVER, |
3022 | "mptctl_reply"); | ||
3022 | if (!mptctl_id || mptctl_id >= MPT_MAX_PROTOCOL_DRIVERS) { | 3023 | if (!mptctl_id || mptctl_id >= MPT_MAX_PROTOCOL_DRIVERS) { |
3023 | printk(KERN_ERR MYNAM ": ERROR: Failed to register with Fusion MPT base driver\n"); | 3024 | printk(KERN_ERR MYNAM ": ERROR: Failed to register with Fusion MPT base driver\n"); |
3024 | misc_deregister(&mptctl_miscdev); | 3025 | misc_deregister(&mptctl_miscdev); |
@@ -3026,7 +3027,8 @@ static int __init mptctl_init(void) | |||
3026 | goto out_fail; | 3027 | goto out_fail; |
3027 | } | 3028 | } |
3028 | 3029 | ||
3029 | mptctl_taskmgmt_id = mpt_register(mptctl_taskmgmt_reply, MPTCTL_DRIVER); | 3030 | mptctl_taskmgmt_id = mpt_register(mptctl_taskmgmt_reply, MPTCTL_DRIVER, |
3031 | "mptctl_taskmgmt_reply"); | ||
3030 | if (!mptctl_taskmgmt_id || mptctl_taskmgmt_id >= MPT_MAX_PROTOCOL_DRIVERS) { | 3032 | if (!mptctl_taskmgmt_id || mptctl_taskmgmt_id >= MPT_MAX_PROTOCOL_DRIVERS) { |
3031 | printk(KERN_ERR MYNAM ": ERROR: Failed to register with Fusion MPT base driver\n"); | 3033 | printk(KERN_ERR MYNAM ": ERROR: Failed to register with Fusion MPT base driver\n"); |
3032 | mpt_deregister(mptctl_id); | 3034 | mpt_deregister(mptctl_id); |