diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-02-12 10:06:10 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-02-14 10:09:16 +0100 |
commit | 036105e3a776b6fc2fe0d262896a23ff2cc2e6b1 (patch) | |
tree | 2849d117a6ab8067abc637f14721a728ee839d26 /fs/xfs/xfs_reflink.h | |
parent | 75fa9b7e375e35739663cde0252d31e586c6314a (diff) | |
download | linux-stable-036105e3a776b6fc2fe0d262896a23ff2cc2e6b1.tar.gz linux-stable-036105e3a776b6fc2fe0d262896a23ff2cc2e6b1.tar.bz2 linux-stable-036105e3a776b6fc2fe0d262896a23ff2cc2e6b1.zip |
video: Provide screen_info_get_pci_dev() to find screen_info's PCI device
Add screen_info_get_pci_dev() to find the PCI device of an instance
of screen_info. Does nothing on systems without PCI bus.
v3:
* search PCI device with pci_get_base_class() (Sui)
v2:
* remove ret from screen_info_pci_dev() (Javier)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240212090736.11464-3-tzimmermann@suse.de
Diffstat (limited to 'fs/xfs/xfs_reflink.h')
0 files changed, 0 insertions, 0 deletions