scst: Fix the build against Ubuntu kernel 4.15.0

Reported-by: Tomohiro Kusumi


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8271 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-04-23 01:00:43 +00:00
parent 9c19181cca
commit 74354ff7f0

View File

@@ -1622,9 +1622,9 @@ enum {
* See also commit cc019a5a3b58 ("scsi: scsi_transport_fc: fix typos on 64/128
* GBit define names") # v4.16.
*/
enum {
FC_PORTSPEED_64GBIT = 0x1000
};
#ifndef FC_PORTSPEED_64GBIT
#define FC_PORTSPEED_64GBIT 0x1000
#endif
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0)