mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
fcst: Port to Linux kernel v5.10
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9181 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -14,10 +14,15 @@
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#include <linux/version.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/types.h>
|
||||
#include <scsi/libfc.h>
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0)
|
||||
#include <scsi/fc_encode.h>
|
||||
#else
|
||||
#include <scsi/fc_frame.h>
|
||||
#endif
|
||||
#include "fcst.h"
|
||||
|
||||
/*
|
||||
|
||||
@@ -19,10 +19,15 @@
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program.
|
||||
*/
|
||||
#include <linux/version.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/types.h>
|
||||
#include <scsi/libfc.h>
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0)
|
||||
#include <scsi/fc_encode.h>
|
||||
#else
|
||||
#include <scsi/fc_frame.h>
|
||||
#endif
|
||||
#include "fcst.h"
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user