diff options
author | Richard Weinberger <richard@nod.at> | 2021-07-06 17:43:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-21 15:54:39 +0200 |
commit | 74a03c20bc8809a41d66ea614e55358064adbd7d (patch) | |
tree | 3305e2b362c29b2d9ba59dd12848e841857d2727 /scripts/spdxcheck-test.sh | |
parent | d1d26f40f71c6eabeb2083e2a18d2e55e9a71336 (diff) | |
download | lwn-74a03c20bc8809a41d66ea614e55358064adbd7d.tar.gz lwn-74a03c20bc8809a41d66ea614e55358064adbd7d.zip |
misc: pci_endpoint_test: Ensure relationship between miscdev and PCI
Set the parent pointer of the misc device to ensure a relationship
between PCI and misc dev. That way it is possible to see in
/sys/class/misc/ which pci_endpoint_test instance serves what
PCI device.
Signed-off-by: Richard Weinberger <richard@nod.at>
Link: https://lore.kernel.org/r/20210706154310.26773-1-richard@nod.at
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/spdxcheck-test.sh')
0 files changed, 0 insertions, 0 deletions