// SPDX-License-Identifier: GPL-2.0-only /* Copyright (C) 2023 Intel Corporation */ #include "idpf.h" #include "idpf_devids.h" #include "idpf_virtchnl.h" #define DRV_SUMMARY … MODULE_DESCRIPTION(…); MODULE_IMPORT_NS(…); MODULE_LICENSE(…) …; /** * idpf_remove - Device removal routine * @pdev: PCI device information struct */ static void idpf_remove(struct pci_dev *pdev) { … } /** * idpf_shutdown - PCI callback for shutting down device * @pdev: PCI device information struct */ static void idpf_shutdown(struct pci_dev *pdev) { … } /** * idpf_cfg_hw - Initialize HW struct * @adapter: adapter to setup hw struct for * * Returns 0 on success, negative on failure */ static int idpf_cfg_hw(struct idpf_adapter *adapter) { … } /** * idpf_probe - Device initialization routine * @pdev: PCI device information struct * @ent: entry in idpf_pci_tbl * * Returns 0 on success, negative on failure */ static int idpf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) { … } /* idpf_pci_tbl - PCI Dev idpf ID Table */ static const struct pci_device_id idpf_pci_tbl[] = …; MODULE_DEVICE_TABLE(pci, idpf_pci_tbl); static struct pci_driver idpf_driver = …; module_pci_driver(…) …;