summaryrefslogtreecommitdiffstats
path: root/lib/proc.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/proc.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 'lib/proc.c')
-rw-r--r--lib/proc.c24
1 files changed, 11 insertions, 13 deletions
diff --git a/lib/proc.c b/lib/proc.c
index 429cea6..deba651 100644
--- a/lib/proc.c
+++ b/lib/proc.c
@@ -214,17 +214,15 @@ proc_cleanup_dev(struct pci_dev *d)
}
struct pci_methods pm_linux_proc = {
- "linux-proc",
- "The proc file system on Linux",
- proc_config,
- proc_detect,
- proc_init,
- proc_cleanup,
- proc_scan,
- pci_generic_fill_info,
- proc_read,
- proc_write,
- NULL, /* read_vpd */
- NULL, /* init_dev */
- proc_cleanup_dev
+ .name = "linux-proc",
+ .help = "The proc file system on Linux",
+ .config = proc_config,
+ .detect = proc_detect,
+ .init = proc_init,
+ .cleanup = proc_cleanup,
+ .scan = proc_scan,
+ .fill_info = pci_generic_fill_info,
+ .read = proc_read,
+ .write = proc_write,
+ .cleanup_dev = proc_cleanup_dev,
};