diff options
| author | Arnd Bergmann <[email protected]> | 2016-01-27 15:57:17 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2016-02-24 02:27:02 +0000 |
| commit | 120f83f8d6f2e2e7dea3570646722c62ecee70b0 (patch) | |
| tree | 3d4ef381ac5908c725683ee3790701d0fa40c92e /drivers/message/fusion/mptbase.c | |
| parent | megaraid_sas: Add an i/o barrier (diff) | |
| download | kernel-120f83f8d6f2e2e7dea3570646722c62ecee70b0.tar.gz kernel-120f83f8d6f2e2e7dea3570646722c62ecee70b0.zip | |
scsi: fdomain: drop fdomain_pci_tbl when built-in
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 <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/message/fusion/mptbase.c')
0 files changed, 0 insertions, 0 deletions
