diff options
author | Max Gurtovoy <[email protected]> | 2021-08-26 13:39:08 +0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2021-08-26 10:36:51 -0600 |
commit | 343b7258687ecfbb363bfda8833a7cf641aac524 (patch) | |
tree | 434e78584525876789777812c37e572de60dd563 /Documentation/filesystems/caching/backend-api.rst | |
parent | c61302aa48f7c46b5c9d893109488af951be12e4 (diff) |
PCI: Add 'override_only' field to struct pci_device_id
Add 'override_only' field to struct pci_device_id to be used as part of
pci_match_device().
When set, a driver only matches the entry when dev->driver_override is
set to that driver.
In addition, add a helper macro named 'PCI_DEVICE_DRIVER_OVERRIDE' to
enable setting some data on it.
Next patch from this series will use the above functionality.
Signed-off-by: Max Gurtovoy <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/backend-api.rst')
0 files changed, 0 insertions, 0 deletions