summaryrefslogtreecommitdiffstats
path: root/lib/hurd.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/hurd.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/hurd.c24
1 files changed, 11 insertions, 13 deletions
diff --git a/lib/hurd.c b/lib/hurd.c
index 3e65fb8..84860a7 100644
--- a/lib/hurd.c
+++ b/lib/hurd.c
@@ -356,17 +356,15 @@ hurd_fill_info(struct pci_dev *d, unsigned int flags)
}
struct pci_methods pm_hurd = {
- "hurd",
- "Hurd access using RPCs",
- NULL, /* config */
- hurd_detect,
- hurd_init,
- hurd_cleanup,
- hurd_scan,
- hurd_fill_info,
- hurd_read,
- hurd_write,
- NULL, /* read_vpd */
- hurd_init_dev,
- hurd_cleanup_dev
+ .name = "hurd",
+ .help = "Hurd access using RPCs",
+ .detect = hurd_detect,
+ .init = hurd_init,
+ .cleanup = hurd_cleanup,
+ .scan = hurd_scan,
+ .fill_info = hurd_fill_info,
+ .read = hurd_read,
+ .write = hurd_write,
+ .init_dev = hurd_init_dev,
+ .cleanup_dev = hurd_cleanup_dev
};