diff options
| author | Christoph Hellwig <[email protected]> | 2020-01-21 13:37:45 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2020-01-24 20:54:08 +0000 |
| commit | aad6aa0cd674b7935957354666f82e5b2cdc813d (patch) | |
| tree | dd5d00a559f488e8da51c4b6df713a6628248793 /drivers/pci/controller/vmd.c | |
| parent | Linux 5.5-rc1 (diff) | |
| download | kernel-aad6aa0cd674b7935957354666f82e5b2cdc813d.tar.gz kernel-aad6aa0cd674b7935957354666f82e5b2cdc813d.zip | |
x86/PCI: Add to_pci_sysdata() helper
Various helpers need the pci_sysdata just to dereference a single field in
it. Add a little helper that returns the properly typed sysdata pointer to
require a little less boilerplate code.
[jonathan.derrick: to_pci_sysdata const argument]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jon Derrick <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions
