]> git.baikalelectronics.ru Git - kernel.git/commit
g_NCR5380: Kill compiler warning if builtin
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 3 Jan 2015 22:00:16 +0000 (23:00 +0100)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 9 Mar 2015 11:42:30 +0000 (07:42 -0400)
commit169887ba4bf1628c98c0d34c901ec6bb388fa359
treec99b174bcd8220e4276d2bd8685dae0daccf5773
parenta11f8d4507810e9dd4961fd22a13c13412026abe
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>
drivers/scsi/g_NCR5380.c