aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/legacy/dtc2278.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 16:25:16 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 16:25:16 -0400
commit0bfeee7d4190938291a76536c7f6cd8f4e2dc30c (patch)
tree94d8a02a4f184852836ae1e1ef5cbb8415238127 /drivers/ide/legacy/dtc2278.c
parent3b36f66b81bc0d69ec7dfa736592224f6ca366b7 (diff)
ide: use ide_legacy_device_add() for qd65xx (take 2)
* Add 'unsigned long config' argument to ide_legacy_device_add() for setting hwif->config_data. * Use ide_find_port_slot() instead of ide_find_port() in ide_legacy_device_add(). * Handle IDE_HFLAG_QD_2ND_PORT and IDE_HFLAG_SINGLE host flags in ide_legacy_device_add(). * Convert qd65xx host driver to use ide_legacy_device_add(). v2: * Update ali14xx, dtc2278, ht6560b and umc8672 host drivers. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/legacy/dtc2278.c')
-rw-r--r--drivers/ide/legacy/dtc2278.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/legacy/dtc2278.c b/drivers/ide/legacy/dtc2278.c
index 92d119ba92af..7b5585c1c4c0 100644
--- a/drivers/ide/legacy/dtc2278.c
+++ b/drivers/ide/legacy/dtc2278.c
@@ -125,7 +125,7 @@ static int __init dtc2278_probe(void)
125#endif 125#endif
126 local_irq_restore(flags); 126 local_irq_restore(flags);
127 127
128 return ide_legacy_device_add(&dtc2278_port_info); 128 return ide_legacy_device_add(&dtc2278_port_info, 0);
129} 129}
130 130
131int probe_dtc2278 = 0; 131int probe_dtc2278 = 0;