summaryrefslogtreecommitdiffstats
path: root/lib/dump.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:31:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:31:41 +0000
commit9d227ccb45612c6f8a2a488d9d2ca90784489afc (patch)
treeaae8a30f23900307a2d14ebe0588db807ab3b355 /lib/dump.c
parentReleasing progress-linux version 1:3.11.1-1~progress7.99u1. (diff)
downloadpciutils-9d227ccb45612c6f8a2a488d9d2ca90784489afc.tar.xz
pciutils-9d227ccb45612c6f8a2a488d9d2ca90784489afc.zip
Merging upstream version 1:3.12.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/dump.c')
-rw-r--r--lib/dump.c24
1 files changed, 11 insertions, 13 deletions
diff --git a/lib/dump.c b/lib/dump.c
index 829071f..5f4ba2e 100644
--- a/lib/dump.c
+++ b/lib/dump.c
@@ -178,17 +178,15 @@ dump_cleanup_dev(struct pci_dev *d)
}
struct pci_methods pm_dump = {
- "dump",
- "Reading of register dumps (set the `dump.name' parameter)",
- dump_config,
- dump_detect,
- dump_init,
- dump_cleanup,
- dump_scan,
- pci_generic_fill_info,
- dump_read,
- dump_write,
- NULL, /* read_vpd */
- NULL, /* init_dev */
- dump_cleanup_dev
+ .name = "dump",
+ .help = "Reading of register dumps (set the `dump.name' parameter)",
+ .config = dump_config,
+ .detect = dump_detect,
+ .init = dump_init,
+ .cleanup = dump_cleanup,
+ .scan = dump_scan,
+ .fill_info = pci_generic_fill_info,
+ .read = dump_read,
+ .write = dump_write,
+ .cleanup_dev = dump_cleanup_dev,
};