aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/sym53c8xx_2/sym_nvram.c
diff options
context:
space:
mode:
authorMatthew Wilcox2007-10-05 15:55:06 -0400
committerJames Bottomley2007-10-23 15:11:10 -0400
commite58bc06ed071e43bef4e2f94340853761a4bf034 (patch)
treed0d677dad5d2d8a0452db9893b3749c44f485f8f /drivers/scsi/sym53c8xx_2/sym_nvram.c
parentbd678450bfbd4bb6543a7138d9ee3418c2a11e7c (diff)
[SCSI] sym53c8xx: Remove ->device_id
Following the same path as ->revision_id, remove ->device_id Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_nvram.c')
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_nvram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_nvram.c b/drivers/scsi/sym53c8xx_2/sym_nvram.c
index 15d69298ab6e..5662fbb3ff60 100644
--- a/drivers/scsi/sym53c8xx_2/sym_nvram.c
+++ b/drivers/scsi/sym53c8xx_2/sym_nvram.c
@@ -696,7 +696,7 @@ static int sym_read_Tekram_nvram (struct sym_device *np, Tekram_nvram *nvram)
u_short csum;
int x;
- switch (np->device_id) {
+ switch (np->pdev->device) {
case PCI_DEVICE_ID_NCR_53C885:
case PCI_DEVICE_ID_NCR_53C895:
case PCI_DEVICE_ID_NCR_53C896: