Skip to contentSkip to conversation

: 2.6.0-test2-bk1 SCSI dc395x compile problem

PATCH New Ali Akcaagac 1 participant 1 message Aug 1, 2003

Subsystems (2)
lore
Share & tools
lore

Ali Akcaagac

author maintainer
#0 lore raw

PATCH 1/1 : 2.6.0-test2-bk1 SCSI dc395x compile problem

Hello,

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.

drivers/scsi/dc395x.c renamed from drivers/scsi/dc395x.c.bak +1 -1
@@ -5890,7 +5890,7 @@
 	pci_set_drvdata(dev, 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;