aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorMax Gurtovoy <[email protected]>2021-08-26 10:39:08 +0000
committerAlex Williamson <[email protected]>2021-08-26 16:36:51 +0000
commit343b7258687ecfbb363bfda8833a7cf641aac524 (patch)
tree434e78584525876789777812c37e572de60dd563 /scripts/mod/file2alias.c
parentvfio/pci: Move module parameters to vfio_pci.c (diff)
downloadkernel-343b7258687ecfbb363bfda8833a7cf641aac524.tar.gz
kernel-343b7258687ecfbb363bfda8833a7cf641aac524.zip
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 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions