Its sole caller is __hwdom_init, so it can be such itself, too.
Signed-off-by: Jan Beulich <[email protected]>
--- a/xen/drivers/passthrough/pci.c
+++ b/xen/drivers/passthrough/pci.c
@@ -1026,8 +1026,8 @@ struct setup_hwdom {
int (*handler)(u8 devfn, struct pci_dev *);
};
-static void setup_one_hwdom_device(const struct setup_hwdom *ctxt,
- struct pci_dev *pdev)
+static void __hwdom_init setup_one_hwdom_device(const struct setup_hwdom *ctxt,
+ struct pci_dev *pdev)
{
u8 devfn = pdev->devfn;
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel