PCI: Skip attaching driver in device_add()
[firefly-linux-kernel-4.4.55.git] / include / linux / pci.h
index 907b455ab603381a423571139b6497c8c0db5aef..8ee7e4e465392e0ad274bc8e9c9213a2a8ca1134 100644 (file)
@@ -286,6 +286,7 @@ struct pci_dev {
        unsigned int    irq;
        struct resource resource[DEVICE_COUNT_RESOURCE]; /* I/O and memory regions + expansion ROMs */
 
+       bool match_driver;              /* Skip attaching driver */
        /* These fields are used by common fixups */
        unsigned int    transparent:1;  /* Transparent PCI bridge */
        unsigned int    multifunction:1;/* Part of multi-function device */