]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/ide/pci/it8213.c
ide: add ide_pci_device_t.host_flags (take 2)
[karo-tx-linux.git] / drivers / ide / pci / it8213.c
index ff48c23e571ea03ad6506437b3ece40f3afedd47..684b0ec79f41b6cb5a55af382ab333dc45db2e77 100644 (file)
@@ -272,10 +272,10 @@ static void __devinit init_hwif_it8213(ide_hwif_t *hwif)
        {                                               \
                .name           = name_str,             \
                .init_hwif      = init_hwif_it8213,     \
-               .channels       = 1,                    \
                .autodma        = AUTODMA,              \
                .enablebits     = {{0x41,0x80,0x80}}, \
                .bootable       = ON_BOARD,             \
+               .host_flags     = IDE_HFLAG_SINGLE,     \
        }
 
 static ide_pci_device_t it8213_chipsets[] __devinitdata = {