Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git] / drivers / ata / ahci.h
index feb127ef4e4ec3c09f8de75bb5ee171ba7ff6a5b..c2594ddf25b00f54d22b51c66f23db5d54d47222 100644 (file)
@@ -195,6 +195,9 @@ enum {
        PORT_FBS_EN             = (1 << 0), /* Enable FBS */
 
        /* hpriv->flags bits */
+
+#define AHCI_HFLAGS(flags)             .private_data   = (void *)(flags)
+
        AHCI_HFLAG_NO_NCQ               = (1 << 0),
        AHCI_HFLAG_IGN_IRQ_IF_ERR       = (1 << 1), /* ignore IRQ_IF_ERR */
        AHCI_HFLAG_IGN_SERR_INTERNAL    = (1 << 2), /* ignore SERR_INTERNAL */