// SPDX-License-Identifier: GPL-2.0+ // PCI interface driver for Loongson SPI Support // Copyright (C) 2023 Loongson Technology Corporation Limited #include <linux/mod_devicetable.h> #include <linux/pci.h> #include "spi-loongson.h" static int loongson_spi_pci_register(struct pci_dev *pdev, const struct pci_device_id *ent) { … } static struct pci_device_id loongson_spi_devices[] = …; MODULE_DEVICE_TABLE(pci, loongson_spi_devices); static struct pci_driver loongson_spi_pci_driver = …; module_pci_driver(…) …; MODULE_DESCRIPTION(…) …; MODULE_LICENSE(…) …; MODULE_IMPORT_NS(…);