diff options
author | Christoph Hellwig <hch@lst.de> | 2020-01-21 06:37:45 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-01-24 14:54:08 -0600 |
commit | aad6aa0cd674b7935957354666f82e5b2cdc813d (patch) | |
tree | dd5d00a559f488e8da51c4b6df713a6628248793 /drivers/pci | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) | |
download | linux-aad6aa0cd674b7935957354666f82e5b2cdc813d.tar.bz2 |
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/1579613871-301529-2-git-send-email-jonathan.derrick@intel.com
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions