summaryrefslogtreecommitdiff
path: root/drivers/media/usb/pwc/pwc-if.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-01-27 16:57:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-25 11:03:45 +0100
commit422188b34ca887ce1a41213bf37e717fd4cb0134 (patch)
tree3b5f1f59e8a34f041d440bcb061c61b9f7d45d07 /drivers/media/usb/pwc/pwc-if.c
parenta125eb8bec000ed4252be4f7ede74508b3f3ca9e (diff)
scsi: fdomain: drop fdomain_pci_tbl when built-in
commit 120f83f8d6f2e2e7dea3570646722c62ecee70b0 upstream. The fdomain SCSI host driver is one of the last remaining drivers that manually search the PCI bus using pci_get_device rather than registering a pci_driver instance. This means the module device table is unused when the driver is built-in, and we get a warning about it: drivers/scsi/fdomain.c:1773:29: warning: 'fdomain_pci_tbl' defined but not used [-Wunused-variable] To avoid the warning, this adds another #ifdef around the table definition. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/usb/pwc/pwc-if.c')
0 files changed, 0 insertions, 0 deletions