ata_port_info are not supposed to change at runtime. All functions working with ata_port_info provided by <linux/libata.h> work with const ata_port_info. So mark the non-const structs as const. Arvind Yadav (3): [PATCH 1/3] ata: ftide010: constify ata_port_info [PATCH 2/3] ata: pdc2027x: constify ata_port_info [PATCH 3/3] ata: constify ata_port_info drivers/ata/pata_ftide010.c | 2 +- drivers/ata/pata_pdc2027x.c | 2 +- drivers/ata/pdc_adma.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html