diff options
Diffstat (limited to 'include/scsi/libsas.h')
-rw-r--r-- | include/scsi/libsas.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index e9664bb7d188..4e2d61e8fb1e 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | /* | 2 | /* |
3 | * SAS host prototypes and structures header file | 3 | * SAS host prototypes and structures header file |
4 | * | 4 | * |
@@ -207,8 +207,7 @@ struct sas_work { | |||
207 | struct work_struct work; | 207 | struct work_struct work; |
208 | }; | 208 | }; |
209 | 209 | ||
210 | /* Lots of code duplicates this in the SCSI tree, which can be factored out */ | 210 | static inline bool dev_is_expander(enum sas_device_type type) |
211 | static inline bool sas_dev_type_is_expander(enum sas_device_type type) | ||
212 | { | 211 | { |
213 | return type == SAS_EDGE_EXPANDER_DEVICE || | 212 | return type == SAS_EDGE_EXPANDER_DEVICE || |
214 | type == SAS_FANOUT_EXPANDER_DEVICE; | 213 | type == SAS_FANOUT_EXPANDER_DEVICE; |