summaryrefslogtreecommitdiffstats
path: root/lib/win32-cfgmgr32.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:31:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:31:40 +0000
commit6cddab6f801ceb7056b2d061c125a525b020e8ab (patch)
treeaa2d9a14a3ff214a2b3f184557af4605ff301fd8 /lib/win32-cfgmgr32.c
parentAdding upstream version 1:3.11.1. (diff)
downloadpciutils-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/win32-cfgmgr32.c24
1 files changed, 11 insertions, 13 deletions
diff --git a/lib/win32-cfgmgr32.c b/lib/win32-cfgmgr32.c
index dbddc54..ab9042d 100644
--- a/lib/win32-cfgmgr32.c
+++ b/lib/win32-cfgmgr32.c
@@ -1749,17 +1749,15 @@ win32_cfgmgr32_cleanup(struct pci_access *a)
}
struct pci_methods pm_win32_cfgmgr32 = {
- "win32-cfgmgr32",
- "Win32 device listing via Configuration Manager",
- win32_cfgmgr32_config,
- win32_cfgmgr32_detect,
- win32_cfgmgr32_init,
- win32_cfgmgr32_cleanup,
- win32_cfgmgr32_scan,
- win32_cfgmgr32_fill_info,
- win32_cfgmgr32_read,
- win32_cfgmgr32_write,
- NULL, /* read_vpd */
- NULL, /* init_dev */
- win32_cfgmgr32_cleanup_dev,
+ .name = "win32-cfgmgr32",
+ .help = "Win32 device listing via Configuration Manager",
+ .config = win32_cfgmgr32_config,
+ .detect = win32_cfgmgr32_detect,
+ .init = win32_cfgmgr32_init,
+ .cleanup = win32_cfgmgr32_cleanup,
+ .scan = win32_cfgmgr32_scan,
+ .fill_info = win32_cfgmgr32_fill_info,
+ .read = win32_cfgmgr32_read,
+ .write = win32_cfgmgr32_write,
+ .cleanup_dev = win32_cfgmgr32_cleanup_dev,
};