summaryrefslogtreecommitdiffstats
path: root/lib/aos-expansion.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
commit9331d150cc7cfa3ee60be267406dac4f84510e5c (patch)
tree6b2a6f8d2778034aafb2d6c7481c0f84e4a6ad57 /lib/aos-expansion.c
parentAdding debian version 1:3.11.1-1. (diff)
downloadpciutils-9331d150cc7cfa3ee60be267406dac4f84510e5c.tar.xz
pciutils-9331d150cc7cfa3ee60be267406dac4f84510e5c.zip
Merging upstream version 1:3.12.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/aos-expansion.c')
-rw-r--r--lib/aos-expansion.c24
1 files changed, 11 insertions, 13 deletions
diff --git a/lib/aos-expansion.c b/lib/aos-expansion.c
index 3e11f47..e36358e 100644
--- a/lib/aos-expansion.c
+++ b/lib/aos-expansion.c
@@ -221,17 +221,15 @@ aos_expansion_cleanup_dev(struct pci_dev *d)
}
struct pci_methods pm_aos_expansion = {
- "aos-expansion",
- "The Expansion.library on AmigaOS 4.x",
- NULL, // config, called after allocation of pci_access, if assigned
- aos_expansion_detect, // detect, mandatory because called without check
- aos_expansion_init, // init, called once access chosen, eventually after detect
- aos_expansion_cleanup, // cleanup, called at the end
- aos_expansion_scan,
- pci_generic_fill_info,
- aos_expansion_read,
- aos_expansion_write,
- NULL, // read_vpd
- aos_expansion_init_dev,
- aos_expansion_cleanup_dev,
+ .name = "aos-expansion",
+ .help = "The Expansion.library on AmigaOS 4.x",
+ .detect = aos_expansion_detect, // detect, mandatory because called without check
+ .init = aos_expansion_init, // init, called once access chosen, eventually after detect
+ .cleanup = aos_expansion_cleanup, // cleanup, called at the end
+ .scan = aos_expansion_scan,
+ .fill_info = pci_generic_fill_info,
+ .read = aos_expansion_read,
+ .write = aos_expansion_write,
+ .init_dev = aos_expansion_init_dev,
+ .cleanup_dev = aos_expansion_cleanup_dev,
};