mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 23:35:16 +07:00
492b183bd7
The newly added pdev variable is only used in an #ifdef, causing a
build warning without CONFIG_PCI_MSI, unless we move the declaration
inside the same #ifdef:
drivers/media/pci/ngene/ngene-core.c: In function 'ngene_start':
drivers/media/pci/ngene/ngene-core.c:1328:17: error: unused variable 'pdev' [-Werror=unused-variable]
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ngene-cards.c | ||
ngene-core.c | ||
ngene-dvb.c | ||
ngene-i2c.c | ||
ngene.h |