diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:31:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:31:40 +0000 |
commit | 6cddab6f801ceb7056b2d061c125a525b020e8ab (patch) | |
tree | aa2d9a14a3ff214a2b3f184557af4605ff301fd8 /lib/obsd-device.c | |
parent | Adding upstream version 1:3.11.1. (diff) | |
download | pciutils-6cddab6f801ceb7056b2d061c125a525b020e8ab.tar.xz pciutils-6cddab6f801ceb7056b2d061c125a525b020e8ab.zip |
Adding upstream version 1:3.12.0.upstream/1%3.12.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | lib/obsd-device.c | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/lib/obsd-device.c b/lib/obsd-device.c index e2e7652..41f16ce 100644 --- a/lib/obsd-device.c +++ b/lib/obsd-device.c @@ -138,17 +138,14 @@ obsd_write(struct pci_dev *d, int pos, byte *buf, int len) } struct pci_methods pm_obsd_device = { - "obsd-device", - "/dev/pci on OpenBSD", - obsd_config, - obsd_detect, - obsd_init, - obsd_cleanup, - pci_generic_scan, - pci_generic_fill_info, - obsd_read, - obsd_write, - NULL, /* read_vpd */ - NULL, /* dev_init */ - NULL /* dev_cleanup */ + .name = "obsd-device", + .help = "/dev/pci on OpenBSD", + .config = obsd_config, + .detect = obsd_detect, + .init = obsd_init, + .cleanup = obsd_cleanup, + .scan = pci_generic_scan, + .fill_info = pci_generic_fill_info, + .read = obsd_read, + .write = obsd_write, }; |