Commit 1fb666d2 authored by Ali Akcaagac's avatar Ali Akcaagac Committed by James Bottomley

[PATCH] SCSI dc395x compile problem

I'm besides 2 others one of the Maintainers of the SCSI DC395x SCSI
driver and I found a little 1 char problem during the merge from the AC
tree to the official BK tree which causes a compile issue.

Here is a little fix for the 2.6.0-test2-bk1 that allows compiling
correctly. I would be thankful if this patch can be included in an
upcoming bk2 or test3 release.
parent 2c843d48
......@@ -6214,7 +6214,7 @@ int __devinit dc395x_init_one(struct pci_dev *pdev,
pci_set_drvdata(pdev, scsi_host);
/* get the scsi mid level to scan for new devices on the bus */
scsi_add_host(scsi_host, &pdev->dev); /* XXX handle failure */
scsi_add_host(scsi_host, &dev->dev); /* XXX handle failure */
scsi_scan_host(scsi_host);
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment