g_NCR5380: Kill compiler warning if builtin

If CONFIG_SCSI_GENERIC_NCR5380=y:

drivers/scsi/g_NCR5380.c:727: warning: 'id_table' defined but not used

In the non-modular case, MODULE_DEVICE_TABLE() expands to nothing, and
id_table is not referenced.

Correct the existing #ifdef to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
Geert Uytterhoeven 2015-01-03 23:00:16 +01:00 коммит произвёл James Bottomley
Родитель 700d98551f
Коммит b026e8ed55
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -723,7 +723,7 @@ module_param(ncr_53c400a, int, 0);
module_param(dtc_3181e, int, 0); module_param(dtc_3181e, int, 0);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
#ifndef SCSI_G_NCR5380_MEM #if !defined(SCSI_G_NCR5380_MEM) && defined(MODULE)
static struct isapnp_device_id id_table[] = { static struct isapnp_device_id id_table[] = {
{ {
ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_ANY_ID,