• Arnd Bergmann's avatar
    scsi: qedi: fix build regression · edd066a1
    Arnd Bergmann authored
    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: 779936fa ("scsi: qedi: fix building with LTO")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    edd066a1
qedi_dbg.h 4.34 KB