[SCSI] libsas: fix try_test_sas_gpio_gp_bit() build error
commitd962480e9a061505637bb16543d49e247349e25d
authorDan Williams <dan.j.williams@intel.com>
Fri, 23 Sep 2011 23:43:45 +0000 (23 16:43 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 2 Oct 2011 17:47:40 +0000 (2 12:47 -0500)
treee6734a7376a95e2dcc84a2e0223088e109bac8ff
parent11e16364aaac4544dd26ca56d399c954cc95d7a5
[SCSI] libsas: fix try_test_sas_gpio_gp_bit() build error

If the user has disabled CONFIG_SCSI_SAS_HOST_SMP then libsas drivers
will not be receiving smp-gpio frames and do not need this lookup code.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Tested-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
include/scsi/libsas.h