Searched hist:"114 e877a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/media/pci/cx25821/ |
H A D | cx25821-alsa.c | 114e877a Fri Jun 24 07:46:54 CDT 2016 Mauro Carvalho Chehab <mchehab@s-opensource.com> cx25821-alsa: shutup a Gcc 6.1 warning
The PCI device ID table is only used if compiled with modules support. When compiled with modules disabled, this is now producing this bogus warning:
drivers/media/pci/cx25821/cx25821-alsa.c:696:35: warning: 'cx25821_audio_pci_tbl' defined but not used [-Wunused-const-variable=] static const struct pci_device_id cx25821_audio_pci_tbl[] = { ^~~~~~~~~~~~~~~~~~~~~
Fix it by annotating that the function may not be used.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> 114e877a Fri Jun 24 07:46:54 CDT 2016 Mauro Carvalho Chehab <mchehab@s-opensource.com> cx25821-alsa: shutup a Gcc 6.1 warning The PCI device ID table is only used if compiled with modules support. When compiled with modules disabled, this is now producing this bogus warning: drivers/media/pci/cx25821/cx25821-alsa.c:696:35: warning: 'cx25821_audio_pci_tbl' defined but not used [-Wunused-const-variable=] static const struct pci_device_id cx25821_audio_pci_tbl[] = { ^~~~~~~~~~~~~~~~~~~~~ Fix it by annotating that the function may not be used. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|