scsi: qedi: fix build regression
authorArnd Bergmann <arnd@arndb.de>
Mon, 26 Feb 2018 09:44:14 +0000 (10:44 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 28 Feb 2018 02:19:13 +0000 (21:19 -0500)
commitedd066a10090773e18a2095455ad793c73d022b4
treeb8e6cbfe5e3003edf43245b5dbe843a895c9d383
parent121246ae93a1ef37b358da43155c1cc4f33eab37
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>
drivers/scsi/qedi/qedi_dbg.h