diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index 8ba831020d77f4a0c2cff2edb91faa144d1a6dcc..37b793b8939f6f53d59bcb285abb92c8edde44ed 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -383,11 +383,13 @@ struct ahci_host_priv { /* only required for per-port MSI(-X) support */ int (*get_irq_vector)(struct ata_host *host, int port); +#ifdef CONFIG_X86 /* fix zhaoxin Enclosure Management quirk */ void __iomem *p1_mmio; u8 sx_index; u8 px_index; bool has_p0_p1; +#endif }; extern int ahci_ignore_sss;