diff options
| author | Arnd Bergmann <[email protected]> | 2024-07-19 10:38:23 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-07-31 11:47:27 +0000 |
| commit | f528cd55853968db8e959ff0e4c2c43e561e7b83 (patch) | |
| tree | 6a01f2b02f6586577ed5f1da246158934d14683d /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | eeprom: ee1004: Fix locking issues in ee1004_probe() (diff) | |
| download | kernel-f528cd55853968db8e959ff0e4c2c43e561e7b83.tar.gz kernel-f528cd55853968db8e959ff0e4c2c43e561e7b83.zip | |
misc: mrvl-cn10k-dpi: add PCI_IOV dependency
I found one more missing dependency in the new driver: when building
without CONFIG_PCI_IOV, pci_sriov_configure_simple() cannot be
called directly:
drivers/misc/mrvl_cn10k_dpi.c: In function 'dpi_remove':
include/linux/stddef.h:9:14: error: called object is not a function or function pointer
9 | #define NULL ((void *)0)
| ^
include/linux/pci.h:2416:41: note: in expansion of macro 'NULL'
2416 | #define pci_sriov_configure_simple NULL
| ^~~~
drivers/misc/mrvl_cn10k_dpi.c:652:9: note: in expansion of macro 'pci_sriov_configure_simple'
652 | pci_sriov_configure_simple(pdev, 0);
Add this to the Kconfig file as well.
Fixes: 5f67eef6dff3 ("misc: mrvl-cn10k-dpi: add Octeon CN10K DPI administrative driver")
Signed-off-by: Arnd Bergmann <[email protected]>
Tested-by: Vamsi Attunuru <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
