diff --git a/include/linux/libata.h b/include/linux/libata.h index af832852e62044695c9a3042bbc4ff5fc5b8f237..8bf5e59a7859731e8c638e8930d106cc1428ee09 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -609,7 +609,7 @@ struct ata_host { struct task_struct *eh_owner; struct ata_port *simplex_claimed; /* channel owning the DMA */ - struct ata_port *ports[0]; + struct ata_port *ports[]; }; struct ata_queued_cmd {