aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptlan.c
diff options
context:
space:
mode:
authorPrakash, Sathya <[email protected]>2007-07-24 10:17:41 +0000
committerJames Bottomley <[email protected]>2007-07-28 15:31:54 +0000
commitd6ecdd638aa840604b87195f2097cabbd095092c (patch)
tree1c3d84dc2219164f4cb99324362226a287029e2b /drivers/message/fusion/mptlan.c
parent[SCSI] mpt fusion: Changes in mptscsih.c for logging support (diff)
downloadkernel-d6ecdd638aa840604b87195f2097cabbd095092c.tar.gz
kernel-d6ecdd638aa840604b87195f2097cabbd095092c.zip
[SCSI] mpt fusion: Changes in mptfc.c mptlan.c mptsas.c and mptspi.c for logging support
This patch contains changes in mptfc.c, mptlan.c, mptsas.c and mptspi.c to support logging in MPT fusion drivers. The changes are majorly in debug printks, the existing debugprintk are modified accroding to new debug macros defined in the file mptbdebug.h signed-off-by: Sathya Prakash <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/message/fusion/mptlan.c')
-rw-r--r--drivers/message/fusion/mptlan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptlan.c b/drivers/message/fusion/mptlan.c
index 7e8a90cb484e..01fc397fdd97 100644
--- a/drivers/message/fusion/mptlan.c
+++ b/drivers/message/fusion/mptlan.c
@@ -1524,8 +1524,7 @@ static int __init mpt_lan_init (void)
dlprintk((KERN_INFO MYNAM ": Registered for IOC reset notifications\n"));
- if (mpt_device_driver_register(&mptlan_driver, MPTLAN_DRIVER))
- dprintk((KERN_INFO MYNAM ": failed to register dd callbacks\n"));
+ mpt_device_driver_register(&mptlan_driver, MPTLAN_DRIVER);
return 0;
}