diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-02-26 10:44:14 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-02-27 21:19:13 -0500 |
commit | edd066a10090773e18a2095455ad793c73d022b4 (patch) | |
tree | b8e6cbfe5e3003edf43245b5dbe843a895c9d383 /drivers/scsi/scsi.c | |
parent | 121246ae93a1ef37b358da43155c1cc4f33eab37 (diff) | |
download | talos-obmc-linux-edd066a10090773e18a2095455ad793c73d022b4.tar.gz talos-obmc-linux-edd066a10090773e18a2095455ad793c73d022b4.zip |
scsi: qedi: fix build regression
A bugfix I did caused a build regression in some other randconfig
builds in a rare combination of options:
In file included from drivers/scsi/qedi/qedi_fw.c:16:
drivers/scsi/qedi/qedi_gbl.h:26:38: error: array type has incomplete element type 'struct qedi_debugfs_ops'
extern const struct qedi_debugfs_ops qedi_debugfs_ops[];
^~~~~~~~~~~~~~~~
This removes the useless #ifdef around the declarations in qedi_dbg.h
to make it always build.
Fixes: 779936faf4f1 ("scsi: qedi: fix building with LTO")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi.c')
0 files changed, 0 insertions, 0 deletions