diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-07-05 08:25:46 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-08-19 06:38:46 -0400 |
| commit | 346da62d9f9ccca81cf279c361137d1fe2fe0c7f (patch) | |
| tree | caf9f60da91a1d183ee4ca7bacb0bdcf30d0bb0b | |
| parent | 7eeda5e2487276ed87960655fdae1c97d9779a0e (diff) | |
| download | linux-346da62d9f9ccca81cf279c361137d1fe2fe0c7f.tar.gz linux-346da62d9f9ccca81cf279c361137d1fe2fe0c7f.zip | |
vdpa: octeon_ep: add missing MODULE_DEVICE_TABLE()
The driver has a match table for the pci bus wired into its driver
structure, but the table is not exported with MODULE_DEVICE_TABLE().
Add the missing MODULE_DEVICE_TABLE() entry so module alias information
is generated for automatic module loading.
This is a source-level fix. It does not claim dynamic hardware
reproduction; the evidence is the driver-owned match table, its use by
the driver registration structure, and the missing module alias
publication.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260705002546.85004-1-pengpeng@iscas.ac.cn>
| -rw-r--r-- | drivers/vdpa/octeon_ep/octep_vdpa_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vdpa/octeon_ep/octep_vdpa_main.c b/drivers/vdpa/octeon_ep/octep_vdpa_main.c index 5b35993750f5..6d8ccdc14fb6 100644 --- a/drivers/vdpa/octeon_ep/octep_vdpa_main.c +++ b/drivers/vdpa/octeon_ep/octep_vdpa_main.c @@ -979,6 +979,7 @@ static struct pci_device_id octep_pci_vdpa_map[] = { { PCI_DEVICE(PCI_VENDOR_ID_CAVIUM, OCTEP_VDPA_DEVID_CN103K_VF) }, { 0 }, }; +MODULE_DEVICE_TABLE(pci, octep_pci_vdpa_map); static struct pci_driver octep_pci_vdpa = { .name = OCTEP_VDPA_DRIVER_NAME, |
