aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/ide-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c
index 22ef73eb1f68..53feaf82576e 100644
--- a/drivers/ide/ide-dma.c
+++ b/drivers/ide/ide-dma.c
@@ -145,7 +145,7 @@ int ide_in_drive_list(struct hd_driveid *id, const struct drive_list_entry *driv
145{ 145{
146 for ( ; drive_table->id_model ; drive_table++) 146 for ( ; drive_table->id_model ; drive_table++)
147 if ((!strcmp(drive_table->id_model, id->model)) && 147 if ((!strcmp(drive_table->id_model, id->model)) &&
148 ((strstr(drive_table->id_firmware, id->fw_rev)) || 148 ((strstr(id->fw_rev, drive_table->id_firmware)) ||
149 (!strcmp(drive_table->id_firmware, "ALL")))) 149 (!strcmp(drive_table->id_firmware, "ALL"))))
150 return 1; 150 return 1;
151 return 0; 151 return 0;