mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-20 18:43:03 +00:00
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 | ||